PHP Класс Prooph\ServiceBus\Plugin\MessageProducerPlugin
If the MessageProducerPlugin is attached to a message bus it routes all messages
to the Prooph\ServiceBus\Async\MessageProducer it is initialized with.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Метод |
Описание |
|
__construct ( Prooph\ServiceBus\Async\MessageProducer $messageProducer ) |
|
|
attach ( Prooph\Common\Event\ActionEventEmitter $emitter ) |
|
|
onDispatchInitialize ( Prooph\Common\Event\ActionEvent $event ) |
|
|
Описание методов
__construct()
публичный Метод
public __construct ( Prooph\ServiceBus\Async\MessageProducer $messageProducer ) |
$messageProducer |
Prooph\ServiceBus\Async\MessageProducer |
|
public attach ( Prooph\Common\Event\ActionEventEmitter $emitter ) |
$emitter |
Prooph\Common\Event\ActionEventEmitter |
|
onDispatchInitialize()
публичный Метод
public onDispatchInitialize ( Prooph\Common\Event\ActionEvent $event ) |
$event |
Prooph\Common\Event\ActionEvent |
|