@@ -8,7 +8,7 @@ The service container can be compiled for various reasons. These reasons
8
8
include checking for any potential issues such as circular references and
9
9
making the container more efficient by resolving parameters and removing
10
10
unused services. Also, certain features - like using
11
- :doc: `parent services </components/dependency_injection/parentservices >`
11
+ :doc: `parent services </service_container/parent_services >`
12
12
- require the container to be compiled.
13
13
14
14
It is compiled by running::
@@ -47,7 +47,7 @@ and can be registered with the container with::
47
47
The main work of the extension is done in the ``load `` method. In the ``load ``
48
48
method you can load configuration from one or more configuration files as
49
49
well as manipulate the container definitions using the methods shown in
50
- :doc: `/components/dependency_injection /definitions `.
50
+ :doc: `/service_container /definitions `.
51
51
52
52
The ``load `` method is passed a fresh container to set up, which is then
53
53
merged afterwards into the container it is registered with. This allows
@@ -331,10 +331,10 @@ being compiled::
331
331
}
332
332
333
333
The container's parameters and definitions can be manipulated using the
334
- methods described in the :doc: `/components/dependency_injection/ definitions `.
335
- One common thing to do in a compiler pass is to search for all services
336
- that have a certain tag in order to process them in some way or dynamically
337
- plug each into some other service.
334
+ methods described in the :doc: `/service_container/ definitions `. One common
335
+ thing to do in a compiler pass is to search for all services that have a
336
+ certain tag in order to process them in some way or dynamically plug each into
337
+ some other service.
338
338
339
339
Registering a Compiler Pass
340
340
---------------------------
@@ -519,4 +519,3 @@ have the cache will be considered stale.
519
519
520
520
In the full-stack framework the compilation and caching of the container
521
521
is taken care of for you.
522
-
0 commit comments