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

bool supports(MappedAsset$asset)

Parameters

MappedAsset $asset

Return Value

bool

string compile(string$content,MappedAsset$asset,AssetMapperInterface$assetMapper)

Applies any changes to the contents of the asset.

Parameters

string $content
MappedAsset $asset
AssetMapperInterface $assetMapper

Return Value

string