Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9f1a354

Browse filesBrowse 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
Copy full SHA for 9f1a354

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎components/dependency_injection/compilation.rst

Copy file name to clipboardExpand all lines: components/dependency_injection/compilation.rst
+3-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.