moved AppVariable to the bridge

This commit is contained in:
Fabien Potencier 2015-01-13 12:00:11 +01:00
parent c7ae71d6da
commit 293765ab36
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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>