You are here

public function Twig_Test_Node::__construct in Translation template extractor 6.3

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

Overrides Twig_Test::__construct

File

vendor/Twig/Test/Node.php, line 22

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;
}