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

Properties

protected $currentFiles : mixed

protected $lastHash : mixed

protected $variables : mixed

Methods

public __construct ()

Returns
mixed

public addVariable ($variable)

Parameters
Property Description
$variable
mixed
Returns
mixed

public filterLoad (Assetic\Contracts\Asset\AssetInterface $asset)

Parameters
Property Description
$asset
Assetic\Contracts\Asset\AssetInterface
Returns
mixed

public hash () : string

Generates a hash for the object

Returns
string

public hashAsset ($asset, $localPath)

Parameters
Property Description
$asset
mixed
$localPath
mixed
Returns
mixed

public setHash ($hash)

Parameters
Property Description
$hash
mixed
Returns
mixed

public setPresets (array $presets)

Parameters
Property Description
$presets
array
Returns
mixed

public setVariables (array $variables)

Parameters
Property Description
$variables
array
Returns
mixed
Copyright © 2024 Winter CMS