Scss compiler

Assets
in package

Table of Contents

$assets  : array<string|int, mixed>
$compiler  : Compiler
__construct()  : mixed
Constructor
add()  : Assets
Add an asset
empty()  : Assets
Remove all assets
get()  : array<string|int, mixed>
Get all assets
nameExists()  : bool
Is an asset named $name is defined
write()  : mixed
Write all assets in a folder

Properties

$assets

protected array<string|int, mixed> $assets = []

Methods

__construct()

Constructor

public __construct(Compiler $compiler) : mixed
Parameters
$compiler : Compiler
Return values
mixed

get()

Get all assets

public get() : array<string|int, mixed>
Return values
array<string|int, mixed>

nameExists()

Is an asset named $name is defined

public nameExists(string $name) : bool
Parameters
$name : string
Return values
bool

write()

Write all assets in a folder

public write(string $folder) : mixed
Parameters
$folder : string
Return values
mixed

Search results