bug #1752 re-added Twig_Simple* classes to provide more compat between 1.x and 2.x (fabpot)

This PR was merged into the 2.0-dev branch.

Discussion
----------

re-added Twig_Simple* classes to provide more compat between 1.x and 2.x

see #1644

Commits
-------

f4126f0 re-added Twig_Simple* classes to provide more compat between 1.x and 2.x
This commit is contained in:
Fabien Potencier
2015-08-11 15:32:54 +02:00
3 changed files with 57 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Empty class for Twig 1.x compatibility.
*
* @deprecated to be removed in 3.0
*/
class Twig_SimpleFilter extends Twig_Filter
{
}
+19
View File
@@ -0,0 +1,19 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Empty class for Twig 1.x compatibility.
*
* @deprecated to be removed in 3.0
*/
class Twig_SimpleFunction extends Twig_Function
{
}
+19
View File
@@ -0,0 +1,19 @@
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Empty class for Twig 1.x compatibility.
*
* @deprecated to be removed in 3.0
*/
class Twig_SimpleTest extends Twig_Test
{
}