PHP Класс Mmoreram\RSQueueBundle\Command\Abstracts\AbstractRSQueueCommand

Наследование: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand, implements Mmoreram\RSQueueBundle\Command\Interfaces\RSQueueCommandInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$methods array Array with all configured queues/ with their callable methods

Защищенные методы

Метод Описание
addMethod ( String $alias, String $method ) : SubscriberCommand Adds a queue/channel to subscribe on
shuffleQueues ( ) : boolean Set automatic queue mixing when several queues are defined.

Описание методов

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

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

This method returns if queue order must be shuffled before processing them By default is false, so same order will be passed as defined.
protected shuffleQueues ( ) : boolean
Результат boolean Shuffle before passing to Gearman

Описание свойств

$methods защищенное свойство

Array with all configured queues/ with their callable methods
protected array $methods
Результат array