62 throw new \RuntimeException(
sprintf(
'The source file "%s" does not exist.',
$source));
73 throw new \RuntimeException(
sprintf(
'The source file "%s" does not exist.',
$source));
sprintf('%.4f', $callTime)
doLoad($content, FilterInterface $additionalFilter=null)
Encapsulates asset loading logic.
getValues()
Returns the current values for this asset.
getVars()
Returns an array of variable names for this asset.
Represents an asset loaded from a file.
load(FilterInterface $additionalFilter=null)
Loads the asset into memory and applies load filters.
__construct($source, $filters=array(), $sourceRoot=null, $sourcePath=null, array $vars=array())
Constructor.
getLastModified()
Returns the time the current asset was last modified.
static resolve($template, array $vars, array $values)
Resolves variable placeholders.
An exception for terminatinating execution or to throw for unit testing.
A filter manipulates an asset at load and dump.