function AssetDumper::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Asset/AssetDumper.php \Drupal\Core\Asset\AssetDumper::__construct()
  2. 10 core/lib/Drupal/Core/Asset/AssetDumper.php \Drupal\Core\Asset\AssetDumper::__construct()
  3. 11.x 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;
}

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