8000 Minor #12420 · symfony/symfony-docs@7965df4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7965df4

Browse files
committed
Minor #12420
1 parent b4bb39d commit 7965df4

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

components/event_dispatcher.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,11 @@ determine which instance is passed.
220220
$containerBuilder->register('subscriber_service_id', \AcmeSubscriber::class)
221221
->addTag('kernel.event_subscriber');
222222

223-
``RegisterListenersPass`` is able to resolve aliased class names which for
224-
instance allows to refer to an event via the fully qualified class name
225-
(FQCN) of the event class. The pass will read the alias mapping from a
226-
dedicated container parameter. This parameter can be extended by registering
227-
another compiler pass, ``AddEventAliasesPass``::
223+
``RegisterListenersPass`` resolves aliased class names which for instance
224+
allows to refer to an event via the fully qualified class name (FQCN) of the
225+
event class. The pass will read the alias mapping from a dedicated container
226+
parameter. This parameter can be extended by registering another compiler pass,
227+
``AddEventAliasesPass``::
228228

229229
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
230230
use Symfony\Component\DependencyInjection\ContainerBuilder;

event_dispatcher.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,6 @@ there are some minor advantages for each of them:
248248
* **Listeners are more flexible** because bundles can enable or disable each of
249249
them conditionally depending on some configuration value.
250250

251-
.. _event-aliases:
252-
253251
Event Aliases
254252
-------------
255253

0 commit comments

Comments
 (0)
0