You are here

class Twig_Extension_Optimizer in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Extension/Optimizer.php \Twig_Extension_Optimizer

Hierarchy

Expanded class hierarchy of Twig_Extension_Optimizer

File

vendor/twig/twig/lib/Twig/Extension/Optimizer.php, line 11

View source
class Twig_Extension_Optimizer extends Twig_Extension {
  protected $optimizers;
  public function __construct($optimizers = -1) {
    $this->optimizers = $optimizers;
  }
  public function getNodeVisitors() {
    return array(
      new Twig_NodeVisitor_Optimizer($this->optimizers),
    );
  }
  public function getName() {
    return 'optimizer';
  }

}

Members