Skip to content

Commit 843496f

Browse files
committed
minor #17033 [DependencyInjection] Add command related to tags (mohamedGasmii)
This PR was merged into the 4.4 branch. Discussion ---------- [DependencyInjection] Add command related to tags Add command to display all tags in the app & filter by tag command <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 994497a add command related to tags
2 parents 36cf603 + 994497a commit 843496f

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)