AssetConverterInterface
in
The AssetConverterInterface must be implemented by asset converter classes.
Tags
Table of Contents
Methods
- convert() : string
- Converts a given asset file into a CSS or JS file.
Methods
convert()
Converts a given asset file into a CSS or JS file.
public
convert(string $asset, string $basePath) : string
Parameters
- $asset : string
-
the asset file path, relative to $basePath
- $basePath : string
-
the directory the $asset is relative to.
Return values
string —the converted asset file path, relative to $basePath.