|
static | deprecation ($message) |
| Prints a deprecation warning message associated with the current @import or function call.
|
|
static | setCallback (callable $callback=null) |
|
static | warning ($message) |
| Prints a warning message associated with the current @import or function call.
|
|
◆ deprecation()
static ScssPhp\ScssPhp\Warn::deprecation |
( |
| $message | ) |
|
|
static |
Prints a deprecation warning message associated with the current @import
or function call.
This may only be called within a custom function or importer callback.
- Parameters
-
- Return values
-
◆ setCallback()
static ScssPhp\ScssPhp\Warn::setCallback |
( |
callable | $callback = null | ) |
|
|
static |
- Parameters
-
- Return values
-
callable|null | The previous warn callback |
@phpstan-param (callable(string, bool): void)|null $callback
@phpstan-return (callable(string, bool): void)|null
◆ warning()
static ScssPhp\ScssPhp\Warn::warning |
( |
| $message | ) |
|
|
static |
Prints a warning message associated with the current @import
or function call.
This may only be called within a custom function or importer callback.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file: