Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0c2a9b3

Browse filesBrowse files
committed
minor #3931 [Component][EventDispatcher] 2.5 specific documentation for the TraceableEventDispatcher (xabbuh)
This PR was merged into the 2.5 branch. Discussion ---------- [Component][EventDispatcher] 2.5 specific documentation for the TraceableEventDispatcher | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | 2.5+ | Fixed tickets | #3879 Commits ------- cf667c9 update the TraceableEventDispatcher to reflect its movement to the EventDispatcher component in Symfony 2.5
2 parents 46b21bd + cf667c9 commit 0c2a9b3
Copy full SHA for 0c2a9b3

File tree

Expand file treeCollapse file tree

1 file changed

+6
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-2
lines changed

‎components/event_dispatcher/traceable_dispatcher.rst

Copy file name to clipboardExpand all lines: components/event_dispatcher/traceable_dispatcher.rst
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@
55
The 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`
913
is an event dispatcher that wraps any other event dispatcher and can then
1014
be used to determine which event listeners have been called by the dispatcher.
1115
Pass 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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.