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

Skip to content

Commit a7fdf17

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Simplified tagged services YAML example
2 parents d5ec360 + 2fdbe01 commit a7fdf17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service_container/tags.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,8 @@ first constructor argument to the ``App\HandlerCollection`` service:
511511
512512
App\HandlerCollection:
513513
# inject all services tagged with app.handler as first argument
514-
arguments: [!tagged_iterator app.handler]
514+
arguments:
515+
- !tagged_iterator app.handler
515516
516517
.. code-block:: xml
517518

0 commit comments

Comments
 (0)