abstract class Twig_Test in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Test.php \Twig_Test
Represents a template test.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- class \Twig_Test implements Twig_TestCallableInterface, Twig_TestInterface
Expanded class hierarchy of Twig_Test
Deprecated
since 1.12 (to be removed in 2.0)
File
- vendor/
twig/ twig/ lib/ Twig/ Test.php, line 21
View source
abstract class Twig_Test implements Twig_TestInterface, Twig_TestCallableInterface {
protected $options;
protected $arguments = array();
public function __construct(array $options = array()) {
$this->options = array_merge(array(
'callable' => null,
), $options);
}
public function getCallable() {
return $this->options['callable'];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Test:: |
protected | property | ||
Twig_Test:: |
protected | property | ||
Twig_Test:: |
public | function |
Overrides Twig_TestCallableInterface:: |
|
Twig_Test:: |
public | function | 3 | |
Twig_TestInterface:: |
public | function | Compiles a test. | 3 |