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:
679
679
https://symfony.com/schema/dic/services/services-1.0.xsd" >
680
680
<services >
681
681
<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" />
683
683
</service >
684
684
</services >
685
685
</container >
@@ -708,7 +708,7 @@ Tagged Services with Index
708
708
709
709
If you want to retrieve a specific service within the injected collection
710
710
you 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 ``.
712
712
713
713
Using the previous example, this service configuration creates a collection
714
714
indexed by the ``key `` attribute:
You can’t perform that action at this time.
0 commit comments