PHP Класс Ddd\Test\Infrastructure\Application\Notification\TestListener

Наследование: extends Ddd\Infrastructure\Application\Notification\AmqpExchangeListener
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
receivedEvents ( )

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

Метод Описание
handle ( stdClass $event ) : void The action to perform
listensTo ( string $typeName ) : boolean This method will be responsible to decide whether this listener listens to an specific event type or not, given an event type name

Приватные методы

Метод Описание
receiveEvent ( $event )

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

handle() защищенный Метод

The action to perform
protected handle ( stdClass $event ) : void
$event stdClass
Результат void

listensTo() защищенный Метод

This method will be responsible to decide whether this listener listens to an specific event type or not, given an event type name
protected listensTo ( string $typeName ) : boolean
$typeName string
Результат boolean

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

public receivedEvents ( )