moved AppVariable to the bridge
This commit is contained in:
parent
c7ae71d6da
commit
293765ab36
|
@ -9,7 +9,7 @@
|
|||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Bundle\TwigBundle;
|
||||
namespace Symfony\Bridge\Twig;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
|
@ -38,7 +38,7 @@
|
|||
</call>
|
||||
</service>
|
||||
|
||||
<service id="twig.app_variable" class="Symfony\Bundle\TwigBundle\AppVariable" public="false">
|
||||
<service id="twig.app_variable" class="Symfony\Bridge\Twig\AppVariable" public="false">
|
||||
<call method="setEnvironment"><argument>%kernel.environment%</argument></call>
|
||||
<call method="setDebug"><argument>%kernel.debug%</argument></call>
|
||||
<call method="setSecurity"><argument type="service" id="security.context" on-invalid="ignore" /></call>
|
||||
|
|
Reference in New Issue