forked fromsymfony/symfony-docs
- Notifications
You must be signed in to change notification settings - Fork0
Commit44c6273
committed
minorsymfony#3727 Added a note about inlined private services (javiereguiluz)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closessymfony#3727).Discussion----------Added a note about inlined private services| Q | A| ------------- | ---| Doc fix? | no| New docs? | yes| Applies to | 2.3+| Fixed tickets | -When you define private services that are used just as arguments for another service, Symfon2 doesn't define them as services, but inlines them in the other service definition. This slightly improves the performance of the container, but it's confusing for Symfony beginners because the private services aren't displayed by the `container:debug` command even when using the `--show-private` option:```$ php app/console container:debug --show-private```Commits-------15a7be0 [book] [service_container] added the title of a cross reference835b52f Emphasized the fact that this only applies when the private service is used as argument for a single service04cb9d4 Added a note about inlined private servicesFile tree
2 files changed
+9
-0
lines changed- book
- components/dependency_injection
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1001 | 1001 | | |
1002 | 1002 | | |
1003 | 1003 | | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
1004 | 1011 | | |
1005 | 1012 | | |
1006 | 1013 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments
Comments
(0)