15cb83bfa0
This PR was merged into the 3.2-dev branch.
Discussion
----------
[DI] Dont use Container::get() when fetching private services internally
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #19683, #19682, #19680
| License | MIT
As spotted by @wouterj, we forgot to remove the deprecation notice when doing internal calls to get private services.
Yet, we don't need to get through this `get()` method, because we can already resolve many things at compile time for private services. This will provide another small performance optim, and fix the issue.
Commits
-------
|
||
---|---|---|
.. | ||
Compiler | ||
Config | ||
Dumper | ||
Extension | ||
Fixtures | ||
LazyProxy | ||
Loader | ||
ParameterBag | ||
ContainerBuilderTest.php | ||
ContainerTest.php | ||
CrossCheckTest.php | ||
DefinitionDecoratorTest.php | ||
DefinitionTest.php | ||
ParameterTest.php | ||
ReferenceTest.php |