From f1e5f2a116f6c181d71a3d27ee14f68cf07e5189 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 14 Nov 2017 12:35:05 +0100 Subject: [PATCH 1/2] Reworded the intro of reference/dic_tags.rst --- reference/dic_tags.rst | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/reference/dic_tags.rst b/reference/dic_tags.rst index 580d3f94491..9d91f376e92 100644 --- a/reference/dic_tags.rst +++ b/reference/dic_tags.rst @@ -1,16 +1,13 @@ -The Dependency Injection Tags +Built-in Symfony Service Tags ============================= -Dependency Injection Tags are little strings that can be applied to a service -to "flag" it to be used in some special way. For example, if you have a -service that you would like to register as a listener to one of Symfony's -core events, you can flag it with the ``kernel.event_listener`` tag. +:doc:`Service tags ` are the mechanism used by the +:doc:`Dependency Injection component ` to flag +services which require a special processing, such as console commands or Twig +extensions. -You can learn a little bit more about "tags" by reading the ":doc:`/service_container/tags`" -article. - -Below is information about all of the tags available inside Symfony. There -may also be tags in other bundles you use that aren't listed here. +These are the most common tags provided by Symfony components, but in your +application there could be more tags available provided by third-party bundles: ======================================== ======================================================================== Tag Name Usage From 6e43fb7b8717dc2a75b926700129397a1c53a6bf Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 15 Nov 2017 08:37:50 +0100 Subject: [PATCH 2/2] Fixed a typo --- reference/dic_tags.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/dic_tags.rst b/reference/dic_tags.rst index 9d91f376e92..844179e6e24 100644 --- a/reference/dic_tags.rst +++ b/reference/dic_tags.rst @@ -2,7 +2,7 @@ Built-in Symfony Service Tags ============================= :doc:`Service tags ` are the mechanism used by the -:doc:`Dependency Injection component ` to flag +:doc:`DependencyInjection component ` to flag services which require a special processing, such as console commands or Twig extensions.