class Twig_Extension_Optimizer in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Extension/Optimizer.php \Twig_Extension_Optimizer
Hierarchy
- class \Twig_Extension_Optimizer extends \Twig_Extension
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Extension_Optimizer:: |
protected | property | ||
Twig_Extension_Optimizer:: |
public | function | ||
Twig_Extension_Optimizer:: |
public | function | ||
Twig_Extension_Optimizer:: |
public | function |