AsseticAssetManager
class AsseticAssetManager implements AssetManagerInterface
This class is a simple helper for generating assets using Assetic.
Methods
__construct($debugMode)
No description
prepareAssets(
string $sourceAssetsDirectory,
string $webAssetsDirectoryBase, $webAssetsTemplate,
string $webAssetsKey)
Prepare an asset directory by checking that no changes occured in the source directory. If any change is detected, the whole asset directory is copied in the web space.
string
processAsset($assetSource, $assetDirectoryBase,
string $webAssetsDirectoryBase,
string $webAssetsTemplate, $webAssetsKey,
string $outputUrl,
string $assetType,
array $filters,
boolean $debug)
Generates assets from $assetpath in $outputpath, using $filters.
bool
isDebugMode()
No description
registerAssetFilter(
string $filterIdentifier,
FilterInterface $filter)
No description
Details
at line 37
__construct($debugMode)
at line 151
prepareAssets(
string $sourceAssetsDirectory,
string $webAssetsDirectoryBase, $webAssetsTemplate,
string $webAssetsKey)
Prepare an asset directory by checking that no changes occured in the source directory. If any change is detected, the whole asset directory is copied in the web space.
at line 246
string
processAsset($assetSource, $assetDirectoryBase,
string $webAssetsDirectoryBase,
string $webAssetsTemplate, $webAssetsKey,
string $outputUrl,
string $assetType,
array $filters,
boolean $debug)
Generates assets from $assetpath in $outputpath, using $filters.