]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/lib/Twig/Extension/Optimizer.php
013fcb6258488dc95c880be0de99e2ec4c049dd6
4 * This file is part of Twig.
6 * (c) 2010 Fabien Potencier
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
11 class Twig_Extension_Optimizer
extends Twig_Extension
13 protected $optimizers;
15 public function __construct($optimizers = -1)
17 $this->optimizers
= $optimizers;
23 public function getNodeVisitors()
25 return array(new Twig_NodeVisitor_Optimizer($this->optimizers
));
31 public function getName()