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