From 17aa593d23a6b31ef22b92dd16b2a7888d727052 Mon Sep 17 00:00:00 2001 From: JakeFr Date: Sun, 13 Feb 2022 09:30:01 +0100 Subject: [PATCH] Update event_dispatcher.rst AddEventAliasesPass and RegisterListenersPass constructors were removed in 6.0 --- components/event_dispatcher.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/event_dispatcher.rst b/components/event_dispatcher.rst index 04cb8422d79..0cb9eb87074 100644 --- a/components/event_dispatcher.rst +++ b/components/event_dispatcher.rst @@ -254,13 +254,11 @@ determine which instance is passed. Note that ``AddEventAliasesPass`` has to be processed before ``RegisterListenersPass``. - By default, the listeners pass assumes that the event dispatcher's service + The listeners pass assumes that the event dispatcher's service id is ``event_dispatcher``, that event listeners are tagged with the ``kernel.event_listener`` tag, that event subscribers are tagged with the ``kernel.event_subscriber`` tag and that the alias mapping is - stored as parameter ``event_dispatcher.event_aliases``. You can change these - default values by passing custom values to the constructors of - ``RegisterListenersPass`` and ``AddEventAliasesPass``. + stored as parameter ``event_dispatcher.event_aliases``. .. _event_dispatcher-closures-as-listeners: