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:
468468 $container->register(\App\Handler\One::class)
469469 ->addTag('app.handler');
470470
471- $container->register(\App\Handler\One ::class)
471+ $container->register(\App\Handler\Two ::class)
472472 ->addTag('app.handler');
473473
474474 $container->register(\App\HandlerCollection::class)
475475 // inject all services tagged with app.handler as first argument
476476 ->addArgument(new TaggedIteratorArgument('app.handler'));
477477
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.
479479
480480.. code-block :: php
481481
You can’t perform that action at this time.
0 commit comments