Skip to content

Commit 8b962b7

Browse files
Update service_container/tags.rst
Co-Authored-By: XuruDragon <[email protected]>
1 parent 738bfa0 commit 8b962b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ but we can now access a specific injected service:
637637
638638
After compilation the ``HandlerCollection`` is able to iterate over your
639639
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``
640+
from the iterator, we can use ``iterator_to_array`` and retrieve the ``handler_two``:
641641
to get an array and then retrieve the ``handler_two`` handler :
642642

643643
.. code-block:: php

0 commit comments

Comments
 (0)