PHP 클래스 Prooph\ServiceBus\EventBus

An event bus is capable of dispatching a message to multiple listeners.
저자: Alexander Miertsch ([email protected])
상속: extends MessageBus
파일 보기 프로젝트 열기: prooph/service-bus 1 사용 예제들

공개 메소드들

메소드 설명
dispatch ( mixed $event ) : void
setActionEventEmitter ( Prooph\Common\Event\ActionEventEmitter $actionEventDispatcher ) : void Inject an ActionEventDispatcher instance

메소드 상세

dispatch() 공개 메소드

public dispatch ( mixed $event ) : void
$event mixed
리턴 void

setActionEventEmitter() 공개 메소드

Inject an ActionEventDispatcher instance
public setActionEventEmitter ( Prooph\Common\Event\ActionEventEmitter $actionEventDispatcher ) : void
$actionEventDispatcher Prooph\Common\Event\ActionEventEmitter
리턴 void