File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
components/dependency_injection Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -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
---------------------------
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ Getting and Setting Service Definitions
12
12
13
13
There are some helpful methods for working with the service definitions::
14
14
15
- To find out if there is a definition for a service id::
16
-
17
15
// find out if there is an "app.mailer" definition
18
16
$container->hasDefinition('app.mailer');
19
17
// find out if there is an "app.mailer" definition or alias
You can’t perform that action at this time.
0 commit comments