protected function AssetFactory::createFileAsset

1 call to AssetFactory::createFileAsset()
AssetFactory::parseInput in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/AssetFactory.php
Parses an input string string into an asset.

File

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

Class

AssetFactory
The asset factory creates asset objects.

Namespace

Assetic\Factory

Code

protected function createFileAsset($source, $root = null, $path = null, $vars) {
  return new FileAsset($source, array(), $root, $path, $vars);
}