Class AbstractReturningCallbackListener.

Abstract base class for callbacks that are returning a value.

 Methods

{@inheritdoc}

__invoke($event) 

Parameters

$event

Update the values in the event with the value returned by the callback.

update(\Symfony\Component\EventDispatcher\Event $event, mixed $value) : void

Parameters

$event

\Symfony\Component\EventDispatcher\Event

The event being emitted.

$value

mixed

The value returned by the callback.