public function AssetFactory::__construct

Constructor.

Parameters

string $root The default root directory:

Boolean $debug Filters prefixed with a "?" will be omitted in debug mode:

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/AssetFactory.php, line 45

Class

AssetFactory
The asset factory creates asset objects.

Namespace

Assetic\Factory

Code

public function __construct($root, $debug = false) {
  $this->root = rtrim($root, '/');
  $this->debug = $debug;
  $this->output = 'assetic/*';
  $this->workers = array();
}