File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
components/event_dispatcher Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 55The Traceable Event Dispatcher
66==============================
77
8- The :class: `Symfony\\ Component\\ HttpKernel\\ Debug\\ TraceableEventDispatcher `
8+ .. versionadded :: 2.5
9+ The ``TraceableEventDispatcher `` class was moved to the EventDispatcher
10+ component in Symfony 2.5. Before, it was located in the HttpKernel component.
11+
12+ The :class: `Symfony\\ Component\\ EventDispatcher\\ Debug\\ TraceableEventDispatcher `
913is an event dispatcher that wraps any other event dispatcher and can then
1014be used to determine which event listeners have been called by the dispatcher.
1115Pass the event dispatcher to be wrapped and an instance of the
1216:class: `Symfony\\ Component\\ Stopwatch\\ Stopwatch ` to its constructor::
1317
14- use Symfony\Component\HttpKernel \Debug\TraceableEventDispatcher;
18+ use Symfony\Component\EventDispatcher \Debug\TraceableEventDispatcher;
1519 use Symfony\Component\Stopwatch\Stopwatch;
1620
1721 // the event dispatcher to debug
You can’t perform that action at this time.
0 commit comments