clearFilters()
Clears all filters from the current asset.
getSourceRoot()
Returns an absolute path or URL to the source asset's root directory.
getSourcePath()
Returns the relative path for the source asset.
setTargetPath($targetPath)
Sets the URL for the current asset.
load(FilterInterface $additionalFilter=null)
Loads the asset into memory and applies load filters.
getContent()
Returns the loaded content of the current asset.
getVars()
Returns an array of variable names for this asset.
A filter manipulates an asset at load and dump.
ensureFilter(FilterInterface $filter)
Ensures the current asset includes the supplied filter.
setValues(array $values)
Sets the values for the asset's variables.
getLastModified()
Returns the time the current asset was last modified.
getSourceDirectory()
Returns the asset's source directory.
An asset has a mutable URL and content and can be loaded and dumped.
Create styles array
The data for the language used.
getFilters()
Returns an array of filters currently applied.
getTargetPath()
Returns the URL for the current asset.
dump(FilterInterface $additionalFilter=null)
Applies dump filters and returns the asset as a string.
setContent($content)
Sets the content of the current asset.
getValues()
Returns the current values for this asset.