File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -456,6 +456,10 @@ compiler pass just for that.
456456In the following example, all services tagged with ``app.handler `` are passed as
457457first constructor argument to the ``App\HandlerCollection `` service:
458458
459+ .. deprecated :: 4.4
460+
461+ ``tagged `` has been deprecated since version 4.4 and will be removed in 5.0. Use ``tagged_iterator `` instead.
462+
459463.. configuration-block ::
460464
461465 .. code-block :: yaml
@@ -470,7 +474,7 @@ first constructor argument to the ``App\HandlerCollection`` service:
470474
471475 App\HandlerCollection :
472476 # inject all services tagged with app.handler as first argument
473- arguments : [!tagged app.handler]
477+ arguments : [!tagged_iterator app.handler]
474478
475479 .. code-block :: xml
476480
@@ -492,7 +496,7 @@ first constructor argument to the ``App\HandlerCollection`` service:
492496
493497 <service id =" App\HandlerCollection" >
494498 <!-- inject all services tagged with app.handler as first argument -->
495- <argument type =" tagged " tag =" app.handler" />
499+ <argument type =" tagged_iterator " tag =" app.handler" />
496500 </service >
497501 </services >
498502 </container >
You can’t perform that action at this time.
0 commit comments