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 0b32b96 commit 012fc33Copy full SHA for 012fc33
service_container/tags.rst
@@ -635,7 +635,7 @@ but we can now access a specific injected service:
635
// inject all services tagged with app.handler as first argument
636
->addArgument(new TaggedIteratorArgument('app.handler', 'key'));
637
638
-After compilation the ``HandlerCollection`` service is able to iterate over your
+After compilation the ``HandlerCollection`` is able to iterate over your
639
application handlers. But we want to retrieve a specific service by it's
640
``key`` attribute. As it's an iterator, we can use ``iterator_to_array``
641
to get an array and then retrieve the ``handler_two`` handler :
0 commit comments