File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1- The Dependency Injection Tags
1+ Built-in Symfony Service Tags
22=============================
33
4- Dependency Injection Tags are little strings that can be applied to a service
5- to "flag" it to be used in some special way. For example, if you have a
6- service that you would like to register as a listener to one of Symfony's
7- core events, you can flag it with the `` kernel.event_listener `` tag .
4+ :doc: ` Service tags < /service_container/tags >` are the mechanism used by the
5+ :doc: ` Dependency Injection component < /components/dependency_injection >` to flag
6+ services which require a special processing, such as console commands or Twig
7+ extensions .
88
9- You can learn a little bit more about "tags" by reading the ":doc: `/service_container/tags `"
10- article.
11-
12- Below is information about all of the tags available inside Symfony. There
13- may also be tags in other bundles you use that aren't listed here.
9+ These are the most common tags provided by Symfony components, but in your
10+ application there could be more tags available provided by third-party bundles:
1411
1512======================================== ========================================================================
1613Tag Name Usage
You can’t perform that action at this time.
0 commit comments