8000 minor #3804 [Components][DependencyInjection] add note about a use ca… · symfony/symfony-docs@9f1a354 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f1a354

Browse files
committed
minor #3804 [Components][DependencyInjection] add note about a use case that requires to compile the container (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Components][DependencyInjection] add note about a use case that requires to compile the container | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | As @movetodevnull pointed out in symfony/symfony#10045, the compilation chapter of the DependencyInjection component doesn't give any concrete use case of when it is absolutely needed to compile the container. We should decide whether or not it makes sense to extend this note, once #3753 is getting merged. Commits ------- c845ce2 [Components][DependencyInjection] add note about a use case that requires to compile the container
2 parents 5c74318 + c845ce2 commit 9f1a354

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/dependency_injection/compilation.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Compiling the Container
77
The service container can be compiled for various reasons. These reasons
88
include checking for any potential issues such as circular references and
99
making the container more efficient by resolving parameters and removing
10-
unused services.
10+
unused services. Also, certain features - like using
11+
:doc:`parent services </components/dependency_injection/parentservices>` -
12+
require the container to be compiled.
1113

1214
It is compiled by running::
1315

0 commit comments

Comments
 (0)
0