AssetManagerInterface
interface AssetManagerInterface
Methods
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)
Register an asset filter
Details
at line 35
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 58
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.
at line 63
bool
isDebugMode()
at line 70
registerAssetFilter(
string $filterIdentifier,
FilterInterface $filter)
Register an asset filter