class AssetFactory

The asset factory creates asset objects.

@author Kris Wallsmith <kris.wallsmith@gmail.com>

Hierarchy

Expanded class hierarchy of AssetFactory

8 files declare their use of AssetFactory

File

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

Namespace

Assetic\Factory
View source

Members

Namesort descending Modifiers Type Description Overrides
AssetFactory::$am private property
AssetFactory::$debug private property
AssetFactory::$fm private property
AssetFactory::$output private property
AssetFactory::$root private property
AssetFactory::$workers private property
AssetFactory::addWorker public function Adds a factory worker.
AssetFactory::applyWorkers private function Filters an asset collection through the factory workers.
AssetFactory::createAsset public function Creates a new asset.
AssetFactory::createAssetCollection protected function
AssetFactory::createAssetReference protected function
AssetFactory::createFileAsset protected function
AssetFactory::createGlobAsset protected function
AssetFactory::createHttpAsset protected function
AssetFactory::findRootDir private static function Loops through the root directories and returns the first match.
AssetFactory::generateAssetName public function
AssetFactory::getAssetManager public function Returns the current asset manager.
AssetFactory::getFilter protected function
AssetFactory::getFilterManager public function Returns the current filter manager.
AssetFactory::isAbsolutePath private static function
AssetFactory::isDebug public function Checks if the factory is in debug mode.
AssetFactory::parseInput protected function Parses an input string string into an asset.
AssetFactory::setAssetManager public function Sets the asset manager to use when creating asset references.
AssetFactory::setDebug public function Sets debug mode for the current factory.
AssetFactory::setDefaultOutput public function Sets the default output string.
AssetFactory::setFilterManager public function Sets the filter manager to use when adding filters.
AssetFactory::__construct public function Constructor.