Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Prev Previous commit
Next Next commit
using the tagged_iterator instead deprecated tagged
  • Loading branch information
pcabreus committed Jun 12, 2019
commit b9dd5eb67fb19832ba2892f2c7da61d8fdaf83bb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<tag name="foo_tag"/>
</service>
<service id="foo_tagged_iterator" class="Bar" public="true">
<argument type="tagged" tag="foo_tag" default-priority-method="foopriority"/>
<argument type="tagged_iterator" tag="foo_tag" default-priority-method="foopriority"/>
</service>
<service id="foo_tagged_locator" class="Bar" public="true">
<argument type="tagged_locator" tag="foo_tag" default-priority-method="foopriority"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- { name: foo }
foo_service_tagged_iterator:
class: Bar
arguments: [!tagged { tag: foo, default_priority_method: foopriority }]
arguments: [!tagged_iterator { tag: foo, default_priority_method: foopriority }]
foo_service_tagged_locator:
class: Bar
arguments: [!tagged_locator { tag: foo, default_priority_method: foopriority }]
Expand Down