SassCompiler

Implements \ScssCompilerInterface

This class make use of the php-sass module wich uses the libsass library.

Class SassCompiler

package

Default

Methods

__construct

__construct() 

addImportPath

addImportPath( $path) : mixed

Arguments

$path

Response

mixed

getFormatter

getFormatter() : integer

Response

integer

getImportPath

getImportPath() : array

Response

array

getVariables

getVariables() : array

Response

array

serve

serve(string $fileToServe) : mixed

Arguments

$fileToServe

string

Response

mixed

setAdditionalScssFiles

setAdditionalScssFiles(array<mixed,string>|string $scss) 

Arguments

$scss

array<mixed,string>|string

Path to scss files

setBasePath

setBasePath(string $basePath) : mixed

Arguments

$basePath

string

Response

mixed

setFormatter

setFormatter(integer|mixed $formatter) : mixed

Arguments

$formatter

integer|mixed

Response

mixed

setVariables

setVariables(array $variables) : mixed

Arguments

$variables

array

Response

mixed

Properties