Skip to content

Commit

Permalink
[Components][DependencyInjection] add note about a use case that requ…
Browse files Browse the repository at this point in the history
…ires to compile the container
  • Loading branch information
xabbuh committed May 9, 2014
1 parent 252ffe7 commit c845ce2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/dependency_injection/compilation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ Compiling the Container
The service container can be compiled for various reasons. These reasons
include checking for any potential issues such as circular references and
making the container more efficient by resolving parameters and removing
unused services.
unused services. Also, certain features - like using
:doc:`parent services </components/dependency_injection/parentservices>` -
require the container to be compiled.

It is compiled by running::

Expand Down

0 comments on commit c845ce2

Please sign in to comment.