PHP Class 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
Inheritance: extends Mmoreram\RSQueueBundle\Command\Abstracts\AbstractRSQueueCommand
Exibir arquivo Open project: mmoreram/rsqueue-bundle

Protected Methods

Method Description
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.

Method Details

addPattern() protected method

Checks if channel assigned method exists and is callable
protected addPattern ( String $pattern, String $patternMethod ) : SubscriberCommand
$pattern String Pattern
$patternMethod String Pattern method
return SubscriberCommand self Object

execute() protected method

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