ScssAssetBundle
extends AssetBundle
in package
Table of Contents
- $compilerOptions : array<string|int, mixed>
- Overridde any compiler options here
- $scssFiles : array<string|int, mixed>
- $theme : string
- init() : mixed
- publish() : mixed
- compileScssFiles() : mixed
- Compile the scss files
- getCompiler() : Compiler
- Get the compiler
- getTheme() : ThemeInterface
- Get the theme plugin instance
- isCompilingEnabled() : bool
- Should the compiling be run, true if devMode is on
Properties
$compilerOptions
Overridde any compiler options here
public
array<string|int, mixed>
$compilerOptions
= []
$scssFiles
public
array<string|int, mixed>
$scssFiles
= []
Scss files This must be an associative array : [ 'relative/to/theme/base/path' => 'relative/to/public/path' ]
$theme
public
string
$theme
Methods
init()
public
init() : mixed
Tags
Return values
mixed —publish()
public
publish(mixed $am) : mixed
Parameters
- $am : mixed
Tags
Return values
mixed —compileScssFiles()
Compile the scss files
protected
compileScssFiles() : mixed
Return values
mixed —getCompiler()
Get the compiler
protected
getCompiler() : Compiler
Return values
Compiler —getTheme()
Get the theme plugin instance
protected
getTheme() : ThemeInterface
Return values
ThemeInterface —isCompilingEnabled()
Should the compiling be run, true if devMode is on
protected
isCompilingEnabled() : bool