Represents a template test.
@author Fabien Potencier <fabien@symfony.com>
Expanded class hierarchy of Twig_TestInterface
All classes that implement Twig_TestInterface
since 1.12 (to be removed in 2.0)
interface Twig_TestInterface {
/**
* Compiles a test.
*
* @return string The PHP code for the test
*/
public function compile();
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_TestInterface:: |
public | function | Compiles a test. | 3 |