You are here

public function Twig_Function_Node::__construct in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 vendor/Twig/Function/Node.php \Twig_Function_Node::__construct()

Overrides Twig_Function::__construct

File

vendor/Twig/Function/Node.php, line 27

Class

Twig_Function_Node
Represents a template function as a node.

Code

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