You are here

public function Twig_Test_Node::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Test/Node.php \Twig_Test_Node::__construct()

Overrides Twig_Test::__construct

File

vendor/twig/twig/lib/Twig/Test/Node.php, line 25

Class

Twig_Test_Node
Represents a template test as a Node.

Code

public function __construct($class, array $options = array()) {
  parent::__construct($options);
  $this->class = $class;
}