Methods |
public
|
__construct()
Creates a new ErrorHandler object
Creates a new ErrorHandler object
Implements
|
#
|
public
|
register(): $this
Register error, exception and shutdown handlers
Register error, exception and shutdown handlers
|
#
|
public
|
isRegistered(): bool
Check if error, exception and shutdown handlers are registered
Check if error, exception and shutdown handlers are registered
|
#
|
public
|
isShuttingDown(): bool
Check if the running script is terminating
Check if the running script is terminating
|
#
|
public
|
isShuttingDownOnError(): bool
Check if the running script is terminating after a fatal error or
uncaught exception
Check if the running script is terminating after a fatal error or
uncaught exception
|
#
|
public
|
getExitStatus(): int
Get the exit status of the running script if it is terminating
Get the exit status of the running script if it is terminating
|
#
|
public
|
deregister(): $this
Deregister previously registered error and exception handlers
Deregister previously registered error and exception handlers
|
#
|
public
|
silencePath(string $path, int $levels = E_STRICT | E_DEPRECATED | E_USER_DEPRECATED): $this
Silence errors in a file or directory
Silence errors in a file or directory
|
#
|
public
|
silencePattern(string $pattern, int $levels = E_STRICT | E_DEPRECATED | E_USER_DEPRECATED): $this
Silence errors in paths that match a regular expression
Silence errors in paths that match a regular expression
|
#
|
public
|
handleExitSignal(int $exitStatus): void
Report the exit status of the running script before it terminates on
SIGTERM, SIGINT or SIGHUP
Report the exit status of the running script before it terminates on
SIGTERM, SIGINT or SIGHUP
|
#
|