$logger
$logger :
Collects some data about event listeners.
This event dispatcher delegates the dispatching to another one.
__construct(\Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, \Symfony\Component\Stopwatch\Stopwatch $stopwatch, \Psr\Log\LoggerInterface $logger = null)
\Symfony\Component\EventDispatcher\EventDispatcherInterface | $dispatcher | |
\Symfony\Component\Stopwatch\Stopwatch | $stopwatch | |
\Psr\Log\LoggerInterface | $logger |
addSubscriber(\Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber)
{@inheritdoc}
\Symfony\Component\EventDispatcher\EventSubscriberInterface | $subscriber |
removeSubscriber(\Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber)
{@inheritdoc}
\Symfony\Component\EventDispatcher\EventSubscriberInterface | $subscriber |
dispatch( $eventName, \Symfony\Component\EventDispatcher\Event $event = null)
{@inheritdoc}
$eventName | ||
\Symfony\Component\EventDispatcher\Event | $event |
preDispatch(string $eventName, \Symfony\Component\EventDispatcher\Event $event)
Called before dispatching the event.
string | $eventName | The event name |
\Symfony\Component\EventDispatcher\Event | $event | The event |
postDispatch(string $eventName, \Symfony\Component\EventDispatcher\Event $event)
Called after dispatching the event.
string | $eventName | The event name |
\Symfony\Component\EventDispatcher\Event | $event | The event |