ParserAssetResolverFallback
class ParserAssetResolverFallback implements AssetResolverInterface
Class ParserAssetResolverFallback
Methods
mixed
resolveAssetURL(
string $source,
string $file,
string $type,
ParserInterface $parserInterface,
array $filters = array(),
bool $debug = false,
string $declaredAssetsDirectory = null,
mixed $sourceTemplateName = false)
Generate an asset URL
mixed
resolveAssetSourcePath(
string $source,
string $templateName,
string $fileName,
ParserInterface $parserInterface)
Return an asset source file path.
Details
at line 38
mixed
resolveAssetURL(
string $source,
string $file,
string $type,
ParserInterface $parserInterface,
array $filters = array(),
bool $debug = false,
string $declaredAssetsDirectory = null,
mixed $sourceTemplateName = false)
Generate an asset URL
at line 66
mixed
resolveAssetSourcePath(
string $source,
string $templateName,
string $fileName,
ParserInterface $parserInterface)
Return an asset source file path.
A system of fallback enables file overriding. It will look for the template : - in the current template in directory /modules/{module code}/ - in the module in the current template if it exists - in the module in the default template