Skip to content

Commit e304146

Browse files
committed
bug #21627 [DependencyInjection] make the service container builder register its own self referencing definition (hhamon)
This PR was merged into the 3.3-dev branch. Discussion ---------- [DependencyInjection] make the service container builder register its own self referencing definition | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ~ | License | MIT | Doc PR | ~ Commits ------- 9c97496b5f [DependencyInjection] make the service container builder register the definition of its related service container service (and aliases) in order to make compiler passes be able to reference the special service_container service.
2 parents 3a23ea5 + 1115576 commit e304146

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Resources/config/services.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@
4040
<argument type="collection" />
4141
</service>
4242

43-
<service id="Psr\Container\ContainerInterface" alias="service_container" public="false" />
44-
<service id="Symfony\Component\DependencyInjection\ContainerInterface" alias="service_container" public="false" />
45-
<service id="Symfony\Component\DependencyInjection\Container" alias="service_container" public="false" />
46-
4743
<service id="kernel" synthetic="true" />
4844

4945
<service id="filesystem" class="Symfony\Component\Filesystem\Filesystem" />

0 commit comments

Comments
 (0)