PEEL Shopping
Open source ecommerce : PEEL Shopping
Optimizer.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of Twig.
5  *
6  * (c) 2010 Fabien Potencier
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
12 {
13  protected $optimizers;
14 
15  public function __construct($optimizers = -1)
16  {
17  $this->optimizers = $optimizers;
18  }
19 
23  public function getNodeVisitors()
24  {
25  return array(new Twig_NodeVisitor_Optimizer($this->optimizers));
26  }
27 
31  public function getName()
32  {
33  return 'optimizer';
34  }
35 }
getNodeVisitors()
{Returns the node visitor instances to add to the existing list.array An array of Twig_NodeVisitorInt...
Definition: Optimizer.php:23
__construct($optimizers=-1)
Definition: Optimizer.php:15
getName()
{Returns the name of the extension.string The extension name}
Definition: Optimizer.php:31
Twig_NodeVisitor_Optimizer tries to optimizes the AST.
Definition: Optimizer.php:22

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:18 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.