ErrorToExceptionHandler
in package
Table of Contents
- $lastSilencedError : ErrorRecord|null
- clearLastSilencedError() : void
- getAndClearLastSilencedError() : ErrorRecord
- getLastSilencedError() : ErrorRecord
- handle() : bool
- set() : void
- Shorthand method to set the error-to-exception error handler.
- __construct() : mixed
Properties
$lastSilencedError
private
static ErrorRecord|null
$lastSilencedError
= null
Methods
clearLastSilencedError()
public
static clearLastSilencedError() : void
Return values
void —getAndClearLastSilencedError()
public
static getAndClearLastSilencedError() : ErrorRecord
Return values
ErrorRecord —getLastSilencedError()
public
static getLastSilencedError() : ErrorRecord
Return values
ErrorRecord —handle()
public
static handle(int $severity, string $message, string $file, int $line) : bool
Parameters
- $severity : int
- $message : string
- $file : string
- $line : int
Tags
Return values
bool —set()
Shorthand method to set the error-to-exception error handler.
public
static set() : void
Return values
void —__construct()
private
__construct() : mixed