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 012fc33 commit 738bfa0Copy full SHA for 738bfa0
service_container/tags.rst
@@ -636,7 +636,7 @@ but we can now access a specific injected service:
636
->addArgument(new TaggedIteratorArgument('app.handler', 'key'));
637
638
After compilation the ``HandlerCollection`` is able to iterate over your
639
-application handlers. But we want to retrieve a specific service by it's
+application handlers. To retrieve a specific service by it's ``key`` attribute
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 :
642
0 commit comments