Cecil

Compiler

Compiles SCSS assets to CSS.

Table of Contents

Properties

$builder  : Builder
$config  : Config

Methods

__construct()  : mixed
compile()  : array<string|int, mixed>
Compiles SCSS to CSS.

Properties

Methods

compile()

Compiles SCSS to CSS.

public compile(array<string|int, mixed> $data) : array<string|int, mixed>

Returns the updated data array, unchanged if not a SCSS file.

Parameters
$data : array<string|int, mixed>

Asset data array (must contain 'ext', 'path', 'file', 'content')

Tags
throws
ConfigException
Return values
array<string|int, mixed>

Updated data array with CSS content

On this page

Search results