PHP Class Knp\Bundle\KnpBundlesBundle\Producer\ExecutorProducer

This producer will not send anything to rabbitmq but will execute instantly the consumer
Inheritance: implements Knp\Bundle\KnpBundlesBundle\Producer\ProducerInterface
Afficher le fichier Open project: KnpLabs/KnpBundles Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface $consumer )
publish ( $msgBody, $routingKey = '' )

Method Details

__construct() public méthode

public __construct ( OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface $consumer )
$consumer OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface

publish() public méthode

public publish ( $msgBody, $routingKey = '' )