ScssCompilerInterface
in
Interface ScssCompilerInterface
Table of Contents
- STYLE_COMPACT = 3
- STYLE_COMPRESSED = 4
- STYLE_EXPANDED = 2
- STYLE_NESTED = 1
- addImportPath() : mixed
- serve() : mixed
- setAdditionalScssFiles() : mixed
- setBasePath() : mixed
- setFormatter() : mixed
- setVariables() : mixed
Constants
STYLE_COMPACT
public
mixed
STYLE_COMPACT
= 3
STYLE_COMPRESSED
public
mixed
STYLE_COMPRESSED
= 4
STYLE_EXPANDED
public
mixed
STYLE_EXPANDED
= 2
STYLE_NESTED
public
mixed
STYLE_NESTED
= 1
Methods
addImportPath()
public
addImportPath( $path) : mixed
Parameters
Return values
mixed —serve()
public
serve(string $fileToServe) : mixed
Parameters
- $fileToServe : string
Return values
mixed —setAdditionalScssFiles()
public
setAdditionalScssFiles(array<string|int, string>|string $scss) : mixed
Parameters
- $scss : array<string|int, string>|string
-
Path to scss files
Return values
mixed —setBasePath()
public
setBasePath(string $basePath) : mixed
Parameters
- $basePath : string
Return values
mixed —setFormatter()
public
setFormatter(int|mixed $formatter) : mixed
Parameters
- $formatter : int|mixed
Return values
mixed —setVariables()
public
setVariables(array<string|int, mixed> $variables) : mixed
Parameters
- $variables : array<string|int, mixed>