Skip to content

Commit c8ca957

Browse files
committed
A few minor language tweaks for #1398
1 parent 1b68224 commit c8ca957

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cookbook/service_container/compiler_passes.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ method of the bundle definition class::
2424
}
2525
}
2626

27-
One of the common tasks for compiler passes is to work with tagged services,
28-
read more about this in the components section ":doc:`/components/dependency_injection/tags`".
27+
One of the most common use-cases of compiler passes is to work with tagged services
28+
(read more about tags in the components section ":doc:`/components/dependency_injection/tags`").
2929
If you are using custom tags in a bundle then by convention, tag names consist
3030
of the name of the bundle (lowercase, underscores as separators), followed
31-
by a dot, and finally the "real" name, so the tag "transport" in the AcmeMailerBundle
32-
should be: ``acme_mailer.transport``.
31+
by a dot, and finally the "real" name. For example, if you want to introduce
32+
some sort of "transport" tag in your AcmeMailerBundle, you should call it
33+
``acme_mailer.transport``.

0 commit comments

Comments
 (0)