Skip to content

Commit 994497a

Browse files
committed
add command related to tags
1 parent d28b6c4 commit 994497a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/dic_tags.rst

+12
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ services that require special processing, like console commands or Twig extensio
88
This article shows the most common tags provided by Symfony components, but in
99
your application there could be more tags available provided by third-party bundles.
1010

11+
Run this command to display tagged services in your application:
12+
13+
.. code-block:: terminal
14+
15+
$ php bin/console debug:container --tags
16+
17+
To search for a specific tag, re-run this command with a search term:
18+
19+
.. code-block:: terminal
20+
21+
$ php bin/console debug:container --tag=form.type
22+
1123
auto_alias
1224
----------
1325

0 commit comments

Comments
 (0)