PHP Class Prooph\ServiceBus\EventBus

An event bus is capable of dispatching a message to multiple listeners.
Author: Alexander Miertsch ([email protected])
Inheritance: extends MessageBus
Afficher le fichier Open project: prooph/service-bus Class Usage Examples

Méthodes publiques

Méthode Description
dispatch ( mixed $event ) : void
setActionEventEmitter ( Prooph\Common\Event\ActionEventEmitter $actionEventDispatcher ) : void Inject an ActionEventDispatcher instance

Method Details

dispatch() public méthode

public dispatch ( mixed $event ) : void
$event mixed
Résultat void

setActionEventEmitter() public méthode

Inject an ActionEventDispatcher instance
public setActionEventEmitter ( Prooph\Common\Event\ActionEventEmitter $actionEventDispatcher ) : void
$actionEventDispatcher Prooph\Common\Event\ActionEventEmitter
Résultat void