PHP Класс Mmoreram\RSQueueBundle\Command\PSubscriberCommand

Events : Events : Each time a psubscriber recieves a new element, this throws a new rsqueue.psubscriber Event Exceptions : If any ot inserted associated methods does not exist or is not callable, a new MethodNotFoundException will be thrown
Наследование: extends Mmoreram\RSQueueBundle\Command\Abstracts\AbstractRSQueueCommand
Показать файл Открыть проект

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

Метод Описание
addPattern ( String $pattern, String $patternMethod ) : SubscriberCommand Adds a pattern to subscribe on
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Execute code.

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

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

Checks if channel assigned method exists and is callable
protected addPattern ( String $pattern, String $patternMethod ) : SubscriberCommand
$pattern String Pattern
$patternMethod String Pattern method
Результат SubscriberCommand self Object

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

Execute code.
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