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.
220
220
$containerBuilder->register('subscriber_service_id', \AcmeSubscriber::class)
221
221
->addTag('kernel.event_subscriber');
222
222
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 ``::
228
228
229
229
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
230
230
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:
248
248
* **Listeners are more flexible ** because bundles can enable or disable each of
249
249
them conditionally depending on some configuration value.
250
250
251
- .. _event-aliases :
252
-
253
251
Event Aliases
254
252
-------------
255
253
You can’t perform that action at this time.
0 commit comments