PHP 클래스 Prooph\ServiceBus\CommandBus

A command bus is capable of dispatching a message to a command handler. Only one handler per message is allowed!
저자: Alexander Miertsch ([email protected])
상속: extends MessageBus
파일 보기 프로젝트 열기: prooph/service-bus 1 사용 예제들

공개 메소드들

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

보호된 메소드들

메소드 설명
processCommand ( $command )

메소드 상세

dispatch() 공개 메소드

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

processCommand() 보호된 메소드

protected processCommand ( $command )

setActionEventEmitter() 공개 메소드

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