Skip to content
Permalink
Browse files

[FrameworkBundle] Allow to autowire service_container

  • Loading branch information...
dunglas committed Jan 4, 2016
1 parent 5991565 commit 4e2eef08ed3308116abd079c8720174f7474f9cc
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Symfony/Bundle/FrameworkBundle/Resources/config/services.xml
@@ -46,7 +46,9 @@
<deprecated>The "%service_id%" service is deprecated since Symfony 2.7 and will be removed in 3.0. Use the "request_stack" service instead.</deprecated>
</service>

<service id="service_container" synthetic="true" />
<service id="service_container" synthetic="true">
<autowiring-type>Symfony\Component\DependencyInjection\ContainerInterface</autowiring-type>
</service>

<service id="kernel" synthetic="true" />

0 comments on commit 4e2eef0

Please sign in to comment.
You can’t perform that action at this time.