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

Skip to content

Commit 2fdbe01

Browse files
committed
Merge branch '3.4' into 4.3
* 3.4: Simplified tagged services YAML example
2 parents fe0725d + 723ab0a commit 2fdbe01

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
@@ -507,7 +507,8 @@ first constructor argument to the ``App\HandlerCollection`` service:
507507
508508
App\HandlerCollection:
509509
# inject all services tagged with app.handler as first argument
510-
arguments: [!tagged app.handler]
510+
arguments:
511+
- !tagged app.handler
511512
512513
.. code-block:: xml
513514

0 commit comments

Comments
 (0)