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:06:19 +02:00
parent c53d07a45d
commit f4126f0c71
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
{
}