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
Afficher le fichier Open project: mmoreram/rsqueue-bundle

Méthodes protégées

Méthode 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 méthode

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

execute() protected méthode

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