PHP 클래스 Mmoreram\RSQueueBundle\Command\Abstracts\AbstractRSQueueCommand

상속: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand, implements Mmoreram\RSQueueBundle\Command\Interfaces\RSQueueCommandInterface
파일 보기 프로젝트 열기: mmoreram/rsqueue-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$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