function JsOptimizer::__construct

Same name in other branches
  1. 10 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\Asset

Code

public function __construct(LoggerInterface $logger) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.