PHP Class Prooph\ServiceBus\Plugin\Guard\RouteGuard

Inheritance: implements Prooph\Common\Event\ActionEventListenerAggregate, use trait Prooph\Common\Event\DetachAggregateHandlers
Afficher le fichier Open project: prooph/service-bus Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Prooph\ServiceBus\Plugin\Guard\AuthorizationService $authorizationService, boolean $exposeEventMessageName = false )
attach ( Prooph\Common\Event\ActionEventEmitter $events ) : void
onRoute ( Prooph\Common\Event\ActionEvent $actionEvent )

Method Details

__construct() public méthode

public __construct ( Prooph\ServiceBus\Plugin\Guard\AuthorizationService $authorizationService, boolean $exposeEventMessageName = false )
$authorizationService Prooph\ServiceBus\Plugin\Guard\AuthorizationService
$exposeEventMessageName boolean

attach() public méthode

public attach ( Prooph\Common\Event\ActionEventEmitter $events ) : void
$events Prooph\Common\Event\ActionEventEmitter
Résultat void

onRoute() public méthode

public onRoute ( Prooph\Common\Event\ActionEvent $actionEvent )
$actionEvent Prooph\Common\Event\ActionEvent