Mmoreram\RSQueueBundle\Command\Abstracts\AbstractRSQueueCommand::addMethod PHP Метод

addMethod() защищенный Метод

Checks if queue assigned method exists and is callable
protected addMethod ( String $alias, String $method ) : SubscriberCommand
$alias String Queue alias
$method String Queue method
Результат SubscriberCommand self Object
    protected function addMethod($alias, $method)
    {
        if (!is_callable(array($this, $method))) {
            throw new MethodNotFoundException($alias);
        }
        $this->methods[$alias] = $method;
        return $this;
    }
AbstractRSQueueCommand