File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -468,14 +468,14 @@ constructor argument to the ``App\HandlerCollection`` service:
468
468
$container->register(\App\Handler\One::class)
469
469
->addTag('app.handler');
470
470
471
- $container->register(\App\Handler\One ::class)
471
+ $container->register(\App\Handler\Two ::class)
472
472
->addTag('app.handler');
473
473
474
474
$container->register(\App\HandlerCollection::class)
475
475
// inject all services tagged with app.handler as first argument
476
476
->addArgument(new TaggedIteratorArgument('app.handler'));
477
477
478
- After compilation the `HandlerCollection ` service is able to iterate over your application handlers.
478
+ After compilation the `` HandlerCollection ` ` service is able to iterate over your application handlers.
479
479
480
480
.. code-block :: php
481
481
You can’t perform that action at this time.
0 commit comments