$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\HttpFoundation\RequestStack $requestStack = null) : mixed
\Symfony\Component\EventDispatcher\EventDispatcherInterface | $dispatcher | |
\Symfony\Component\Stopwatch\Stopwatch | $stopwatch | |
\Psr\Log\LoggerInterface | $logger | |
\Symfony\Component\HttpFoundation\RequestStack | $requestStack |
addListener(string $eventName, mixed $listener, int $priority) : mixed
Adds an event listener that listens on the specified events.
string | $eventName | |
mixed | $listener | |
int | $priority | The higher this value, the earlier an event listener will be triggered in the chain (defaults to 0) |