function JsOptimizer::__construct
Same name in other branches
- 11.x core/lib/Drupal/Core/Asset/JsOptimizer.php \Drupal\Core\Asset\JsOptimizer::__construct()
Constructs a new JsOptimizer object.
Parameters
\Psr\Log\LoggerInterface $logger: The logger.
File
-
core/
lib/ Drupal/ Core/ Asset/ JsOptimizer.php, line 24
Class
- JsOptimizer
- Optimizes a JavaScript asset.
Namespace
Drupal\Core\AssetCode
public function __construct(LoggerInterface $logger) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.