You are here

public function AssetDumper::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Asset/AssetDumper.php \Drupal\Core\Asset\AssetDumper::__construct()

AssetDumper constructor.

Parameters

\Drupal\Core\File\FileSystemInterface $file_system: The file handler.

File

core/lib/Drupal/Core/Asset/AssetDumper.php, line 27

Class

AssetDumper
Dumps a CSS or JavaScript asset.

Namespace

Drupal\Core\Asset

Code

public function __construct(FileSystemInterface $file_system = NULL) {
  $this->fileSystem = $file_system;
}