diff options
Diffstat (limited to 'inc/contrib/Twig/TestInterface.php')
| -rw-r--r-- | inc/contrib/Twig/TestInterface.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/inc/contrib/Twig/TestInterface.php b/inc/contrib/Twig/TestInterface.php new file mode 100644 index 00000000..c2ff7258 --- /dev/null +++ b/inc/contrib/Twig/TestInterface.php @@ -0,0 +1,26 @@ +<?php + +/* + * This file is part of Twig. + * + * (c) 2010 Fabien Potencier + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Represents a template test. + * + * @package twig + * @author Fabien Potencier <fabien@symfony.com> + */ +interface Twig_TestInterface +{ + /** + * Compiles a test. + * + * @return string The PHP code for the test + */ + function compile(); +} |
