public function GlobAsset::__construct

Constructor.

Parameters

string|array $globs A single glob path or array of paths:

array $filters An array of filters:

string $root The root directory:

array $vars:

Overrides AssetCollection::__construct

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/GlobAsset.php, line 35

Class

GlobAsset
A collection of assets loaded by glob.

Namespace

Assetic\Asset

Code

public function __construct($globs, $filters = array(), $root = null, array $vars = array()) {
  $this->globs = (array) $globs;
  $this->initialized = false;
  parent::__construct(array(), $filters, $root, $vars);
}