public function callHandler(array $command, $method, $args = array())
    {
        try {
            $handlers = $this->getHandlers();
            return Handler::call($handlers, $command['command_id'], $method, $args);
        } catch (Exception $ex) {
            return $ex->getMessage();
        }
    }
public function callHandler(array $command, $method, $args = array())
    {
        try {
            $handlers = $this->getHandlers();
            return Handler::call($handlers, $command['command_id'], $method, $args);
        } catch (Exception $ex) {
            return $ex->getMessage();
        }
    }
public function callHandler ( array $ command , $ method , $ args = array ( ) ) { try { $ handlers = $ this -> getHandlers ( ) ; return Handler :: call ( $ handlers , $ command [ 'command_id' ] , $ method , $ args ) ; } catch ( Exception $ ex ) { return $ ex -> getMessage ( ) ; } }
Call a command handler
@param array $command
@param string $method
@param array $args
@return mixed
Call a command handler