mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-11 21:06:21 +00:00
re-added Twig_Simple* classes to provide more compat between 1.x and 2.x
This commit is contained in:
@@ -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
|
||||
{
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user