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 2fdbe01

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎service_container/tags.rst

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