Permalink
Browse files

Get parameter bag from container.

  • Loading branch information...
1 parent 8fe7b89 commit 51cae8bbe325cfb4734dd2cb47e6c9b0847393a5 @jakudlaty jakudlaty committed Jul 4, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 Resources/config/assetic.xml
@@ -64,11 +64,7 @@
<argument /> <!-- filter -->
</service>
- <service id="assetic.parameter_bag" class="Symfony\Component\DependencyInjection\ParameterBag\ParameterBag" public="false">
- <argument type="service" id="assetic.parameters" />
- </service>
-
- <service id="assetic.parameters" class="stdClass" factory-service="service_container" factory-method="getDefaultParameters" public="false" />
+ <service id="assetic.parameter_bag" class="Symfony\Component\DependencyInjection\ParameterBag\ParameterBag" factory-service="service_container" factory-method="getParameterBag" public="false"/>
<service id="assetic.value_supplier.default" class="%assetic.value_supplier.class%" public="false">
<argument type="service" id="service_container" />

0 comments on commit 51cae8b

Please sign in to comment.