Same name in other branches
- 6.0.x src/Asset/SingleAssetOptimizerBase.php \Drupal\advagg\Asset\SingleAssetOptimizerBase::__construct()
- 8.x-3.x src/Asset/SingleAssetOptimizerBase.php \Drupal\advagg\Asset\SingleAssetOptimizerBase::__construct()
- 8.x-4.x src/Asset/SingleAssetOptimizerBase.php \Drupal\advagg\Asset\SingleAssetOptimizerBase::__construct()
Construct the optimizer.
Paramètres
\Psr\Log\LoggerInterface $logger: A PSR compatible logger.
4 methods override SingleAssetOptimizerBase::__construct()
- CssMinifier::__construct dans advagg_css_minify/
src/ Asset/ CssMinifier.php - Construct the optimizer instance.
- JsMinifier::__construct dans advagg_js_minify/
src/ Asset/ JsMinifier.php - Construct the optimizer instance.
- Minifier::__construct dans advagg_ext_minify/
src/ Asset/ Minifier.php - Construct the optimizer instance.
- TranslateCss::__construct dans advagg_mod/
src/ Asset/ TranslateCss.php - Construct the optimizer instance.
Fichier
-
src/
Asset/ SingleAssetOptimizerBase.php, line 32
Classe
- SingleAssetOptimizerBase
- A base class for optimizing (especially minifying) assets.
Namespace
Drupal\advagg\AssetCode
public function __construct(LoggerInterface $logger) {
$this->logger = $logger;
}