AssetCompilerInterface
interface AssetCompilerInterface
An asset compiler is responsible for applying any changes to the contents of an asset.
Constants
MISSING_IMPORT_STRICT |
|
MISSING_IMPORT_WARN |
|
MISSING_IMPORT_IGNORE |
|
Methods
bool
supports(MappedAsset$asset)
No description
string
compile(string$content,MappedAsset$asset,AssetMapperInterface$assetMapper)
Applies any changes to the contents of the asset.
Details
string
compile(string$content,MappedAsset$asset,AssetMapperInterface$assetMapper)
Applies any changes to the contents of the asset.