PHP Class Ddd\Test\Infrastructure\Application\Notification\TestListener

Inheritance: extends Ddd\Infrastructure\Application\Notification\AmqpExchangeListener
Datei anzeigen Open project: carlosbuenosvinos/ddd Class Usage Examples

Public Methods

Method Description
receivedEvents ( )

Protected Methods

Method Description
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

Private Methods

Method Description
receiveEvent ( $event )

Method Details

handle() protected method

The action to perform
protected handle ( stdClass $event ) : void
$event stdClass
return void

listensTo() protected method

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
return boolean

receivedEvents() public method

public receivedEvents ( )