Class TraceableEventDispatcher
Collects some data about event listeners.
This event dispatcher delegates the dispatching to another one.
- Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher implements Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcherInterface
Namespace: Symfony\Component\EventDispatcher\Debug
Author: Fabien Potencier fabien@symfony.com
Located at Debug/TraceableEventDispatcher.php
Author: Fabien Potencier fabien@symfony.com
Located at Debug/TraceableEventDispatcher.php
public
|
#
__construct(
Constructor. |
public
|
#
addListener( string $eventName, callable $listener, integer $priority = 0 )
Adds an event listener that listens on the specified events. |
public
|
#
addSubscriber(
Adds an event subscriber. |
public
|
#
removeListener( string $eventName, callable $listener )
Removes an event listener from the specified events. |
public
|
#
removeSubscriber(
Removes an event subscriber. |
public
array
|
|
public
boolean
|
|
public
|
#
dispatch( string $eventName,
Dispatches an event to all registered listeners. |
public
array
|
|
public
array
|
|
public
mixed
|
|
protected
|
#
preDispatch( string $eventName,
Called before dispatching the event. |
protected
|
#
postDispatch( string $eventName,
Called after dispatching the event. |
protected
|
$logger
|
|
protected
|
$stopwatch
|