PHP Class Prooph\ServiceBus\Plugin\InvokeStrategy\AbstractInvokeStrategy

Author: Alexander Miertsch ([email protected])
Inheritance: implements Prooph\Common\Event\ActionEventListenerAggregate, use trait Prooph\Common\Event\DetachAggregateHandlers
Afficher le fichier Open project: prooph/service-bus

Protected Properties

Свойство Type Description
$priority integer

Méthodes publiques

Méthode Description
__invoke ( Prooph\Common\Event\ActionEvent $e )
attach ( Prooph\Common\Event\ActionEventEmitter $events ) : void Attach one or more listeners

Méthodes protégées

Méthode Description
canInvoke ( mixed $handler, mixed $message ) : boolean
invoke ( mixed $handler, mixed $message )

Method Details

__invoke() public méthode

public __invoke ( Prooph\Common\Event\ActionEvent $e )
$e Prooph\Common\Event\ActionEvent

attach() public méthode

Attach one or more listeners
public attach ( Prooph\Common\Event\ActionEventEmitter $events ) : void
$events Prooph\Common\Event\ActionEventEmitter
Résultat void

canInvoke() abstract protected méthode

abstract protected canInvoke ( mixed $handler, mixed $message ) : boolean
$handler mixed
$message mixed
Résultat boolean

invoke() abstract protected méthode

abstract protected invoke ( mixed $handler, mixed $message )
$handler mixed
$message mixed

Property Details

$priority protected_oe property

protected int $priority
Résultat integer