Asplode
class Asplode
Implements static convenience methods for use with Asplode.
Methods
static
tuple<ErrorHandlerInterface,FatalErrorHandlerInterface>
install(
integer $reservedMemory = 1048576,
Isolator $isolator = null)
Installs a new error handler, and a new fatal error handler simultaneously.
static
ErrorHandlerInterface
installErrorHandler(
Isolator $isolator = null)
Installs a new error handler.
static
FatalErrorHandlerInterface
installFatalHandler(
integer $reservedMemory = 1048576,
Isolator $isolator = null)
Installs a new fatal error handler.
static
assertCompatibleHandler(
Isolator $isolator = null)
Asserts that an error handling is configured in a way that is compatible with code expecting error exceptions.
Details
at line 33
static
tuple<ErrorHandlerInterface,FatalErrorHandlerInterface>
install(
integer $reservedMemory = 1048576,
Isolator $isolator = null)
Installs a new error handler, and a new fatal error handler simultaneously.
at line 50
static
ErrorHandlerInterface
installErrorHandler(
Isolator $isolator = null)
Installs a new error handler.
at line 69
static
FatalErrorHandlerInterface
installFatalHandler(
integer $reservedMemory = 1048576,
Isolator $isolator = null)
Installs a new fatal error handler.
This handler will, on shutdown, detect any installed exception handler, and pass an exception representing any fatal errors to said handler.
at line 87
static
assertCompatibleHandler(
Isolator $isolator = null)
Asserts that an error handling is configured in a way that is compatible with code expecting error exceptions.