Метод | Описание | |
---|---|---|
__construct ( |
ErrorHandler constructor. | |
__destruct ( ) : void | Destructor | |
clearLastError ( ) | ||
handleError ( integer $errno, string $errstr, string $errfile, integer $errline ) | General System error handler | |
handleException ( Exception | Throwable $exception ) : void | System Exception Handler | |
handleShutdown ( ) : void | System shutdown handler | |
register ( ) : void | Init method |
Метод | Описание | |
---|---|---|
getLastError ( ) : array | This method implements a workaround for PHP < 7 where no error_clear_last() exists by considering a last error of type E_USER_NOTICE as "cleared". | |
renderException ( Exception | Throwable $exception ) |
public __construct ( |
||
$version |
public handleException ( Exception | Throwable $exception ) : void | ||
$exception | Exception | Throwable | The exception to handle |
Результат | void |
public handleShutdown ( ) : void | ||
Результат | void |