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

Overrides AssetOptimizer::__construct

4 calls to CssOptimizer::__construct()
CssMinifier::__construct in advagg_css_minify/src/Asset/CssMinifier.php
Construct the optimizer instance.
JsMinifier::__construct in advagg_js_minify/src/Asset/JsMinifier.php
Construct the optimizer instance.
Minifier::__construct in advagg_ext_minify/src/Asset/Minifier.php
Construct the optimizer instance.
TranslateCss::__construct in advagg_mod/src/Asset/TranslateCss.php
Construct the optimizer instance.

File

src/Asset/CssOptimizer.php, line 17

Class

CssOptimizer
The CSS Optimizer.

Namespace

Drupal\advagg\Asset

Code

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