public function SingleAssetOptimizerBase::__construct in Advanced CSS/JS Aggregation 8.3
Same name and namespace in other branches
- 8.4 src/Asset/SingleAssetOptimizerBase.php \Drupal\advagg\Asset\SingleAssetOptimizerBase::__construct()
Construct the optimizer.
Parameters
\Psr\Log\LoggerInterface $logger: A PSR compatible logger.
4 calls to SingleAssetOptimizerBase::__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.
4 methods override SingleAssetOptimizerBase::__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/ SingleAssetOptimizerBase.php, line 32
Class
- SingleAssetOptimizerBase
- A base class for optimizing (especially minifying) assets.
Namespace
Drupal\advagg\AssetCode
public function __construct(LoggerInterface $logger) {
$this->logger = $logger;
}