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 db653d2 commit 712d0f4Copy full SHA for 712d0f4
service_container/tags.rst
@@ -474,7 +474,7 @@ first constructor argument to the ``App\HandlerCollection`` service:
474
475
App\HandlerCollection:
476
# inject all services tagged with app.handler as first argument
477
- arguments: [!tagged app.handler]
+ arguments: [!tagged_iterator app.handler]
478
479
.. code-block:: xml
480
@@ -496,7 +496,7 @@ first constructor argument to the ``App\HandlerCollection`` service:
496
497
<service id="App\HandlerCollection">
498
<!-- inject all services tagged with app.handler as first argument -->
499
- <argument type="tagged" tag="app.handler"/>
+ <argument type="tagged_iterator" tag="app.handler"/>
500
</service>
501
</services>
502
</container>
0 commit comments