public function addHandler($osType, $service)
    {
        if (!isset($this->handlers[$osType])) {
            $this->handlers[$osType] = $service;
        }
    }
public function addHandler($osType, $service)
    {
        if (!isset($this->handlers[$osType])) {
            $this->handlers[$osType] = $service;
        }
    }
public function addHandler ( $ osType , $ service ) { if ( ! isset ( $ this -> handlers [ $ osType ] ) ) { $ this -> handlers [ $ osType ] = $ service ; } }
Adds a handler

@param $osType
@param $service
Adds a handler