Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0f4a7a1

Browse filesBrowse files
author
Romaric Drigon
committed
Simplified tagged services YAML example
1 parent 324b406 commit 0f4a7a1
Copy full SHA for 0f4a7a1

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎service_container/tags.rst‎

Copy file name to clipboardExpand all lines: service_container/tags.rst
+2-1Lines changed: 2 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.