|
static | fromPhp ($value) |
| Converts a PHP value to a Sass value.
|
|
static | parseValue ($source) |
| Parses a value from a Scss source string.
|
|
◆ fromPhp()
static ScssPhp\ScssPhp\ValueConverter::fromPhp |
( |
| $value | ) |
|
|
static |
Converts a PHP value to a Sass value.
The returned value is guaranteed to be supported by the Compiler methods for registering custom variables. No other guarantee about it is provided. It should be considered opaque values by the caller.
- Parameters
-
- Return values
-
◆ parseValue()
static ScssPhp\ScssPhp\ValueConverter::parseValue |
( |
| $source | ) |
|
|
static |
Parses a value from a Scss source string.
The returned value is guaranteed to be supported by the Compiler methods for registering custom variables. No other guarantee about it is provided. It should be considered opaque values by the caller.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- lib/scssphp/ValueConverter.php