BasicValue
class BasicValue extends Value (View source)
Properties
protected string | $variable | The name of the LESS variable. |
from Value |
protected mixed | $value | The CSS value. |
Methods
string
toStyleString()
Get the CSS representation of this value.
array
toLessVariablesArray()
Get the LESS representation of this variable and associated values.
$this
setValue(mixed $value)
Set the CSS value.
mixed
getValue()
Get the CSS value.
Details
in
Value at line 19
__construct(string $variable = '')
Initialize the instance.
in
Value at line 29
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.
$this
setValue(mixed $value)
Set the CSS value.
mixed
getValue()
Get the CSS value.