You are here

class Twig_Function_Node in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/Function/Node.php \Twig_Function_Node

Represents a template function as a node.

Use Twig_SimpleFunction instead.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of Twig_Function_Node

Deprecated

since 1.12 (to be removed in 2.0)

File

vendor/twig/twig/lib/Twig/Function/Node.php, line 23

View source
class Twig_Function_Node extends Twig_Function {
  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