change context by Class and service context

This commit is contained in:
Manuel Raynaud
2013-08-12 14:49:43 +02:00
parent b505d785ca
commit b4c4898374
4 changed files with 24 additions and 1 deletions

View File

@@ -60,6 +60,7 @@
<argument type="service" id="thelia.parser.context"/>
</service>
<!--
A ControllerResolver that supports "a:b:c", "service:method" and class::method" notations,
thus allowing the definition of controllers as service (see http://symfony.com/fr/doc/current/cookbook/controller/service.html)
@@ -81,6 +82,8 @@
<argument type="service" id="request" />
</service>
<service id="thelia.envContext" class="Thelia\Core\Context"/>
<!-- Parser context -->
<service id="thelia.parser.context" class="Thelia\Core\Template\ParserContext" scope="request">