File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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-
253251Event Aliases
254252-------------
255253
You can’t perform that action at this time.
0 commit comments