Scss compiler

Asset extends BaseObject
in package

Table of Contents

$content  : string
$fileName  : string
$name  : string
$publicPath  : string
$srcFile  : string
__construct()  : mixed
Constructor, configure this object's options
getContent()  : string|null
Get asset content, either from the content opiton, or from the source file

Properties

$content

public string $content

$fileName

public string $fileName

The file name on disk eg [name].[hash].css

$name

public string $name

The name of the asset eg app.css

$publicPath

public string $publicPath

$srcFile

public string $srcFile

Methods

__construct()

Constructor, configure this object's options

public __construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
$options : array<string|int, mixed> = []
Return values
mixed

getContent()

Get asset content, either from the content opiton, or from the source file

public getContent() : string|null
Return values
string|null

Search results