Skip to content

Commit f1e5f2a

Browse files
committed
Reworded the intro of reference/dic_tags.rst
1 parent 5eff13d commit f1e5f2a

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

reference/dic_tags.rst

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
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
======================================== ========================================================================
1613
Tag Name Usage

0 commit comments

Comments
 (0)