PHP 클래스 Mmoreram\RSQueueBundle\Command\SubscriberCommand
Events :
Each time a subscriber recieves a new element, this throws a new
rsqueue.subscriber Event
Exceptions :
If any of inserted queues or channels is not defined in config file
as an alias, a new InvalidAliasException will be thrown
Likewise, if any ot inserted associated methods does not exist or is not
callable, a new MethodNotFoundException will be thrown
파일 보기
프로젝트 열기: mmoreram/rsqueue-bundle
보호된 메소드들
메소드 |
설명 |
|
addChannel ( String $channelAlias, String $channelMethod ) : SubscriberCommand |
Adds a queue to subscribe on |
|
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) |
Execute code. |
|
메소드 상세
Checks if queue assigned method exists and is callable
protected addChannel ( String $channelAlias, String $channelMethod ) : SubscriberCommand |
$channelAlias |
String |
Queue alias |
$channelMethod |
String |
Queue method |
리턴 |
SubscriberCommand |
self Object |
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) |
$input |
Symfony\Component\Console\Input\InputInterface |
An InputInterface instance |
$output |
Symfony\Component\Console\Output\OutputInterface |
An OutputInterface instance |