PHP Class MiniAsset\Filter\ScssPHP

Requires scssphp to be installed via composer.
See also: http://leafo.net/scssphp
Inheritance: extends MiniAsset\Filter\AssetFilter, use trait CssDependencyTrait
Show file Open project: markstory/mini-asset

Protected Properties

Property Type Description
$_settings
$optionalDependencyPrefix string SCSS will use _ prefixed files if they exist.

Public Methods

Method Description
input ( string $filename, string $input ) : string Runs scssc against any files that match the configured extension.

Method Details

input() public method

Runs scssc against any files that match the configured extension.
public input ( string $filename, string $input ) : string
$filename string The name of the input file.
$input string The content of the file.
return string

Property Details

$_settings protected property

protected $_settings

$optionalDependencyPrefix protected property

SCSS will use _ prefixed files if they exist.
protected string $optionalDependencyPrefix
return string