# elementor/3.28.3/vendor_prefixed/twig/src/Extension/OptimizerExtension.php

Elementor Website Builder – more than just a page builder, version 3.28.3. 26 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.28.3/code/vendor_prefixed/twig/src/Extension/OptimizerExtension.php
- Raw: https://pluginprobe.com/plugins/elementor/3.28.3/raw/vendor_prefixed/twig/src/Extension/OptimizerExtension.php
- Modified: 2025-03-17T13:28:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.28.3/code/vendor_prefixed/twig/src/Extension/OptimizerExtension.php#L10-L20`.

```php
<?php

/*
 * This file is part of Twig.
 *
 * (c) Fabien Potencier
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace ElementorDeps\Twig\Extension;

use ElementorDeps\Twig\NodeVisitor\OptimizerNodeVisitor;
final class OptimizerExtension extends AbstractExtension
{
    private $optimizers;
    public function __construct(int $optimizers = -1)
    {
        $this->optimizers = $optimizers;
    }
    public function getNodeVisitors() : array
    {
        return [new OptimizerNodeVisitor($this->optimizers)];
    }
}

```
