public function getHandlerForCommand($commandName)
    {
        if (!isset($this->handlers[$commandName])) {
            throw MissingHandlerException::forCommand($commandName);
        }

        return $this->handlers[$commandName];
    }
public function getHandlerForCommand($commandName)
    {
        if (!isset($this->handlers[$commandName])) {
            throw MissingHandlerException::forCommand($commandName);
        }

        return $this->handlers[$commandName];
    }
public function getHandlerForCommand ( $ commandName ) { if ( ! isset ( $ this -> handlers [ $ commandName ] ) ) { throw MissingHandlerException :: forCommand ( $ commandName ) ; } return $ this -> handlers [ $ commandName ] ; }
Returns the handler bound to the command's class name.

@param string $commandName

@return object
Returns the handler bound to the command s class name .