|
5 | 5 | How to Work with Compiler Passes |
6 | 6 | ================================ |
7 | 7 |
|
8 | | -Compiler passes give you an opportunity to manipulate other service |
9 | | -definitions that have been registered with the service container. You |
10 | | -can read about how to create them in the components section |
11 | | -":ref:`components-di-separate-compiler-passes`". |
| 8 | +Compiler passes give you an opportunity to manipulate other |
| 9 | +:doc:`service definitions </service_container/definitions>` that have been |
| 10 | +registered with the service container. You can read about how to create them in |
| 11 | +the components section ":ref:`components-di-separate-compiler-passes`". |
12 | 12 |
|
13 | 13 | Compiler passes are registered in the ``build()`` method of the application kernel:: |
14 | 14 |
|
@@ -89,8 +89,8 @@ method in the extension):: |
89 | 89 | } |
90 | 90 | } |
91 | 91 |
|
92 | | -If you are using custom service tags in a bundle then by convention, tag names |
93 | | -consist of the name of the bundle (lowercase, underscores as separators), |
94 | | -followed by a dot, and finally the "real" name. For example, if you want to |
95 | | -introduce some sort of "transport" tag in your AcmeMailerBundle, you should call |
96 | | -it ``acme_mailer.transport``. |
| 92 | +If you are using custom :doc:`service tags </service_container/tags>` in a |
| 93 | +bundle then by convention, tag names consist of the name of the bundle |
| 94 | +(lowercase, underscores as separators), followed by a dot, and finally the |
| 95 | +"real" name. For example, if you want to introduce some sort of "transport" tag |
| 96 | +in your AcmeMailerBundle, you should call it ``acme_mailer.transport``. |
0 commit comments