Skip to content

Commit 0f4a7a1

Browse files
author
Romaric Drigon
committed
Simplified tagged services YAML example
1 parent 324b406 commit 0f4a7a1

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
@@ -466,7 +466,8 @@ first constructor argument to the ``App\HandlerCollection`` service:
466466
467467
AppBundle\HandlerCollection:
468468
# inject all services tagged with app.handler as first argument
469-
arguments: [!tagged app.handler]
469+
arguments:
470+
- !tagged app.handler
470471
471472
.. code-block:: xml
472473

0 commit comments

Comments
 (0)