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.
파일 보기
프로젝트 열기: prooph/service-bus
1 사용 예제들
공개 메소드들
메소드 |
설명 |
|
__construct ( Prooph\ServiceBus\Async\MessageProducer $messageProducer ) |
|
|
attach ( Prooph\Common\Event\ActionEventEmitter $emitter ) |
|
|
onDispatchInitialize ( Prooph\Common\Event\ActionEvent $event ) |
|
|
메소드 상세
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 |
|