rex_scss_compiler
in package
Table of Contents
Properties
- $css_file : string
- $formatter : Formatter>
- $root_dir : string
- $scss_file : string|array<int, string>
Methods
- __construct() : mixed
- compile() : void
- setCssFile() : void
- setFormatter() : void
- setRootDir() : void
- setScssFile() : void
Properties
$css_file
protected
string
$css_file
$formatter
protected
Formatter>
$formatter
= \ScssPhp\ScssPhp\Formatter\Compressed::class
$root_dir
protected
string
$root_dir
$scss_file
protected
string|array<int, string>
$scss_file
Methods
__construct()
public
__construct() : mixed
compile()
public
compile() : void
setCssFile()
public
setCssFile(string $value) : void
Parameters
- $value : string
setFormatter()
public
setFormatter(Formatter> $value) : void
Parameters
- $value : Formatter>
-
scss_formatter (default) or scss_formatter_nested or scss_formatter_compressed
setRootDir()
public
setRootDir(string $value) : void
Parameters
- $value : string
setScssFile()
public
setScssFile(string|array<int, string> $value) : void
Parameters
- $value : string|array<int, string>