Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
ScssPhp\ScssPhp\Warn Class Reference

Static Public Member Functions

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.
 

Member Function Documentation

◆ 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
string$message
Return values
void

◆ setCallback()

static ScssPhp\ScssPhp\Warn::setCallback ( callable $callback = null)
static
Parameters
callable | null$callback
Return values
callable|nullThe 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
string$message
Return values
void

The documentation for this class was generated from the following file: