You are here

public function MinifyJsCommands::__construct in Minify JS 8.2

Same name and namespace in other branches
  1. 8 src/Commands/MinifyJsCommands.php \Drupal\minifyjs\Commands\MinifyJsCommands::__construct()

MinifyJsCommands constructor.

Parameters

\Drupal\minifyjs\MinifyJs $minifyJs: The minifyjs service.

\Drupal\Core\Cache\CacheBackendInterface $cache: The cache.default service.

File

src/Commands/MinifyJsCommands.php, line 44

Class

MinifyJsCommands
A Drush commandfile.

Namespace

Drupal\minifyjs\Commands

Code

public function __construct(MinifyJs $minifyJs, CacheBackendInterface $cache) {
  $this->minifyJs = $minifyJs;
  $this->cache = $cache;
}