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
2
2
=============================
3
3
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 .
8
8
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:
14
11
15
12
======================================== ========================================================================
16
13
Tag Name Usage
You can’t perform that action at this time.
0 commit comments