ScssphpFilter
class ScssphpFilter implements DependencyExtractorInterface
Loads SCSS files using the PHP implementation of scss, scssphp.
Scss files are mostly compatible, but there are slight differences.
Properties
private | $compass | ||
private | $importPaths | ||
private | $customFunctions | ||
private | $formatter | ||
private | $variables |
Methods
enableCompass($enable = true)
No description
isCompassEnabled()
No description
setFormatter($formatter)
No description
setVariables(array $variables)
No description
addVariable($variable)
No description
setImportPaths(array $paths)
No description
addImportPath($path)
No description
registerFunction($name, $callable)
No description
Details
at line 40
enableCompass($enable = true)
No description
at line 45
isCompassEnabled()
No description
at line 50
setFormatter($formatter)
No description
at line 68
setVariables(array $variables)
No description
at line 73
addVariable($variable)
No description
at line 78
setImportPaths(array $paths)
No description
at line 83
addImportPath($path)
No description
at line 88
registerFunction($name, $callable)
No description
at line 93
filterLoad(AssetInterface $asset)
Filters an asset after it has been loaded.
at line 124
filterDump(AssetInterface $asset)
Filters an asset just before it's dumped.
at line 128
AssetInterface[]
getChildren(AssetFactory $factory, string $content, string $loadPath = null)
Returns child assets.