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 738bfa0 commit 8b962b7Copy full SHA for 8b962b7
service_container/tags.rst
@@ -637,7 +637,7 @@ but we can now access a specific injected service:
637
638
After compilation the ``HandlerCollection`` is able to iterate over your
639
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``
+from the iterator, we can use ``iterator_to_array`` and retrieve the ``handler_two``:
641
to get an array and then retrieve the ``handler_two`` handler :
642
643
.. code-block:: php
0 commit comments