LessCompiler
Less.php Compiler Filter
Class used to compile LESS stylesheet files into CSS
class Winter\Storm\Parse\Assetic\Filter\LessCompiler
extends Assetic\Filter\BaseFilter
implements
Assetic\Contracts\Filter\HashableInterface,
Assetic\Contracts\Filter\DependencyExtractorInterface
Extends
Class | Description |
---|---|
Assetic\Filter\BaseFilter
|
Properties
protected $lastHash : mixed
protected
$presets
:
mixed
= []
Methods
public filterLoad (Assetic\Contracts\Asset\AssetInterface $asset)
Parameters
Property | Type | Description |
---|---|---|
$asset | Assetic\Contracts\Asset\AssetInterface |
Assetic\Contracts\Asset\AssetInterface
|
Returns
mixed
public
getChildren (Assetic\Factory\AssetFactory $factory, $content, $loadPath = null
)
Load children recusive
Parameters
Property | Type | Description |
---|---|---|
$factory | Assetic\Factory\AssetFactory |
Assetic\Factory\AssetFactory
|
$content | mixed |
mixed
|
$loadPath | mixed |
mixed
|
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
← Previous page
Winter\Storm\Parse\Assetic\Filter\JavascriptImporter
Next page →
Winter\Storm\Parse\Assetic\Filter\ScssCompiler
Copyright © 2024 Winter CMS