at-ease
...
Loading...
Searching...
No Matches
Wikimedia\AtEase\AtEase Class Reference

Static Public Member Functions

static suppressWarnings ( $end=false)
 Reference-counted warning suppression.
 
static restoreWarnings ()
 Restore error level to previous value.
 
static quietCall (callable $callback,... $args)
 Call the callback given by the first parameter, suppressing any warnings.
 

Member Function Documentation

◆ quietCall()

static Wikimedia\AtEase\AtEase::quietCall ( callable  $callback,
  $args 
)
static

Call the callback given by the first parameter, suppressing any warnings.

Parameters
callable$callbackFunction to call
mixed...$args Optional arguments for the function call
Returns
mixed

◆ suppressWarnings()

static Wikimedia\AtEase\AtEase::suppressWarnings (   $end = false)
static

Reference-counted warning suppression.

Parameters
bool$endWhether to restore warnings

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