File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -679,7 +679,7 @@ in the configuration of the collecting service:
679679 https://symfony.com/schema/dic/services/services-1.0.xsd" >
680680 <services >
681681 <service id =" App\HandlerCollection" >
682- <argument type =" tagged " tag =" app.handler" default-priority-method =" getPriority" />
682+ <argument type =" tagged_iterator " tag =" app.handler" default-priority-method =" getPriority" />
683683 </service >
684684 </services >
685685 </container >
@@ -708,7 +708,7 @@ Tagged Services with Index
708708
709709If you want to retrieve a specific service within the injected collection
710710you can use the ``index_by `` and ``default_index_method `` options of the
711- argument in combination with ``!tagged ``.
711+ argument in combination with ``!tagged_iterator ``.
712712
713713Using the previous example, this service configuration creates a collection
714714indexed by the ``key `` attribute:
You can’t perform that action at this time.
0 commit comments