Skip to content

Commit 012fc33

Browse files
Update service_container/tags.rst
Co-Authored-By: XuruDragon <[email protected]>
1 parent 0b32b96 commit 012fc33

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
@@ -635,7 +635,7 @@ but we can now access a specific injected service:
635635
// inject all services tagged with app.handler as first argument
636636
->addArgument(new TaggedIteratorArgument('app.handler', 'key'));
637637
638-
After compilation the ``HandlerCollection`` service is able to iterate over your
638+
After compilation the ``HandlerCollection`` is able to iterate over your
639639
application handlers. But we want to retrieve a specific service by it's
640640
``key`` attribute. As it's an iterator, we can use ``iterator_to_array``
641641
to get an array and then retrieve the ``handler_two`` handler :

0 commit comments

Comments
 (0)