class Twig_Filter_Node

Represents a template filter as a node.

Use Twig_SimpleFilter instead.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of Twig_Filter_Node

Deprecated

since 1.12 (to be removed in 2.0)

File

drupal/core/vendor/twig/twig/lib/Twig/Filter/Node.php, line 20

View source
class Twig_Filter_Node extends Twig_Filter {
  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