Skip to content

Commit a6d0032

Browse files
committed
Fix build errors
1 parent bb8f3a6 commit a6d0032

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

components/dependency_injection/compilation.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ and can be registered with the container with::
4747
The main work of the extension is done in the ``load`` method. In the ``load``
4848
method you can load configuration from one or more configuration files as
4949
well as manipulate the container definitions using the methods shown in
50-
:doc:`/components/dependency_injection/definitions`.
50+
:doc:`/service_container/definitions`.
5151

5252
The ``load`` method is passed a fresh container to set up, which is then
5353
merged afterwards into the container it is registered with. This allows
@@ -331,10 +331,10 @@ being compiled::
331331
}
332332

333333
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.
338338

339339
Registering a Compiler Pass
340340
---------------------------

service_container/definitions.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ Getting and Setting Service Definitions
1212

1313
There are some helpful methods for working with the service definitions::
1414

15-
To find out if there is a definition for a service id::
16-
1715
// find out if there is an "app.mailer" definition
1816
$container->hasDefinition('app.mailer');
1917
// find out if there is an "app.mailer" definition or alias

0 commit comments

Comments
 (0)