8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71158f8 commit 0aaf48bCopy full SHA for 0aaf48b
service_container/tags.rst
@@ -468,14 +468,14 @@ constructor argument to the ``App\HandlerCollection`` service:
468
$container->register(\App\Handler\One::class)
469
->addTag('app.handler');
470
471
- $container->register(\App\Handler\One::class)
+ $container->register(\App\Handler\Two::class)
472
473
474
$container->register(\App\HandlerCollection::class)
475
// inject all services tagged with app.handler as first argument
476
->addArgument(new TaggedIteratorArgument('app.handler'));
477
478
-After compilation the `HandlerCollection` service is able to iterate over your application handlers.
+After compilation the ``HandlerCollection`` service is able to iterate over your application handlers.
479
480
.. code-block:: php
481
0 commit comments