ScssCompiler
SCSS Compiler Filter
Class used to compile SCSS files into CSS
class Winter\Storm\Parse\Assetic\Filter\ScssCompiler
extends Assetic\Filter\ScssphpFilter
implements
Assetic\Contracts\Filter\HashableInterface,
Assetic\Contracts\Filter\DependencyExtractorInterface
Extends
Class | Description |
---|---|
Assetic\Filter\ScssphpFilter
|
Properties
protected
$currentFiles
:
mixed
= []
protected $lastHash : mixed
protected
$variables
:
mixed
= []
Methods
public __construct ()
Returns
mixed
public addVariable ($variable)
Parameters
Property | Type | Description |
---|---|---|
$variable | mixed |
mixed
|
Returns
mixed
public filterLoad (Assetic\Contracts\Asset\AssetInterface $asset)
Parameters
Property | Type | Description |
---|---|---|
$asset | Assetic\Contracts\Asset\AssetInterface |
Assetic\Contracts\Asset\AssetInterface
|
Returns
mixed
public hash () : string
Generates a hash for the object
Returns
string
public hashAsset ($asset, $localPath)
Parameters
Property | Type | Description |
---|---|---|
$asset | mixed |
mixed
|
$localPath | mixed |
mixed
|
Returns
mixed
public setHash ($hash)
Parameters
Property | Type | Description |
---|---|---|
$hash | mixed |
mixed
|
Returns
mixed
public setPresets (array $presets)
Parameters
Property | Type | Description |
---|---|---|
$presets | array |
array
|
Returns
mixed
public setVariables (array $variables)
Parameters
Property | Type | Description |
---|---|---|
$variables | array |
array
|
Returns
mixed
← Previous page
Winter\Storm\Parse\Assetic\Filter\LessCompiler
Next page →
Winter\Storm\Parse\Bracket
Copyright © 2024 Winter CMS