abstract class Value (View source)

Properties

protected string $variable

The name of the LESS variable.

Methods

__construct(string $variable = '')

Initialize the instance.

string
getVariable()

Get the name of the LESS variable.

string
toStyleString()

Get the CSS representation of this value.

array
toLessVariablesArray()

Get the LESS representation of this variable and associated values.

Details

__construct(string $variable = '')

Initialize the instance.

Parameters

string $variable

the name of the LESS variable

string getVariable()

Get the name of the LESS variable.

Return Value

string

abstract string toStyleString()

Get the CSS representation of this value.

Return Value

string

abstract array toLessVariablesArray()

Get the LESS representation of this variable and associated values.

Return Value

array