Skip to content

Commit 423272d

Browse files
committed
minor #16503 [DependencyInjection] Update event_dispatcher.rst (JakeFr)
This PR was merged into the 6.0 branch. Discussion ---------- [DependencyInjection] Update event_dispatcher.rst AddEventAliasesPass and RegisterListenersPass constructors were removed in 6.0 Commits ------- 17aa593 Update event_dispatcher.rst
2 parents 4b3ab36 + 17aa593 commit 423272d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

components/event_dispatcher.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,11 @@ determine which instance is passed.
254254

255255
Note that ``AddEventAliasesPass`` has to be processed before ``RegisterListenersPass``.
256256

257-
By default, the listeners pass assumes that the event dispatcher's service
257+
The listeners pass assumes that the event dispatcher's service
258258
id is ``event_dispatcher``, that event listeners are tagged with the
259259
``kernel.event_listener`` tag, that event subscribers are tagged
260260
with the ``kernel.event_subscriber`` tag and that the alias mapping is
261-
stored as parameter ``event_dispatcher.event_aliases``. You can change these
262-
default values by passing custom values to the constructors of
263-
``RegisterListenersPass`` and ``AddEventAliasesPass``.
261+
stored as parameter ``event_dispatcher.event_aliases``.
264262

265263
.. _event_dispatcher-closures-as-listeners:
266264

0 commit comments

Comments
 (0)