PHP Class Knp\Bundle\KnpBundlesBundle\Producer\ExecutorProducer
This producer will not send anything to rabbitmq but will execute instantly the consumer
显示文件
Open project: KnpLabs/KnpBundles
Class Usage Examples
Public Methods
Method |
Description |
|
__construct ( OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface $consumer ) |
|
|
publish ( $msgBody, $routingKey = '' ) |
|
|
Method Details
__construct()
public method
public __construct ( OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface $consumer ) |
$consumer |
OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface |
|
public publish ( $msgBody, $routingKey = '' ) |