Same name in other branches
  1. 6.0.x src/Asset/JsOptimizer.php \Drupal\advagg\Asset\JsOptimizer::__construct()
  2. 8.x-2.x advagg_js_minify/src/Asset/JsOptimizer.php \Drupal\advagg_js_minify\Asset\JsOptimizer::__construct()
  3. 8.x-3.x src/Asset/JsOptimizer.php \Drupal\advagg\Asset\JsOptimizer::__construct()
  4. 8.x-4.x src/Asset/JsOptimizer.php \Drupal\advagg\Asset\JsOptimizer::__construct()

Overrides AssetOptimizer::__construct

Fichier

src/Asset/JsOptimizer.php, line 17

Classe

JsOptimizer
The JavaScript Optimizer.

Namespace

Drupal\advagg\Asset

Code

public function __construct(ConfigFactoryInterface $config_factory, ContainerAwareEventDispatcher $event_dispatcher, CacheBackendInterface $cache) {
    $this->extension = 'js';
    parent::__construct($config_factory, $event_dispatcher, $cache);
}