PHP Класс Prooph\ServiceBus\Plugin\InvokeStrategy\AbstractInvokeStrategy

Автор: Alexander Miertsch ([email protected])
Наследование: implements Prooph\Common\Event\ActionEventListenerAggregate, use trait Prooph\Common\Event\DetachAggregateHandlers
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$priority integer

Открытые методы

Метод Описание
__invoke ( Prooph\Common\Event\ActionEvent $e )
attach ( Prooph\Common\Event\ActionEventEmitter $events ) : void Attach one or more listeners

Защищенные методы

Метод Описание
canInvoke ( mixed $handler, mixed $message ) : boolean
invoke ( mixed $handler, mixed $message )

Описание методов

__invoke() публичный Метод

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

attach() публичный Метод

Attach one or more listeners
public attach ( Prooph\Common\Event\ActionEventEmitter $events ) : void
$events Prooph\Common\Event\ActionEventEmitter
Результат void

canInvoke() абстрактный защищенный Метод

abstract protected canInvoke ( mixed $handler, mixed $message ) : boolean
$handler mixed
$message mixed
Результат boolean

invoke() абстрактный защищенный Метод

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

Описание свойств

$priority защищенное свойство

protected int $priority
Результат integer