FatalErrorHandler
class FatalErrorHandler implements FatalErrorHandlerInterface
The standard Asplode fatal error handler.
Methods
Construct a new fatal error handler.
Get the exception handler stack.
Installs this fatal error handler.
Uninstalls this fatal error handler.
Returns true if this fatal error handler is installed.
Handles PHP shutdown, and produces exceptions for any detected fatal error.
Handles PHP shutdown, and produces exceptions for any detected fatal error.
Details
at line 32
__construct(
HandlerStackInterface $stack = null,
Isolator $isolator = null)
Construct a new fatal error handler.
at line 52
HandlerStackInterface
stack()
Get the exception handler stack.
at line 64
install(
integer $reservedMemory = 1048576)
Installs this fatal error handler.
at line 87
uninstall()
Uninstalls this fatal error handler.
at line 101
boolean
isInstalled()
Returns true if this fatal error handler is installed.
at line 114
handle()
Handles PHP shutdown, and produces exceptions for any detected fatal error.
This function will not actually throw any exceptions. If an installed exception handler is detected, it will create an exception representing the fatal error, and pass it to the installed exception handler.
at line 151
__invoke()
Handles PHP shutdown, and produces exceptions for any detected fatal error.
This function will not actually throw any exceptions. If an installed exception handler is detected, it will create an exception representing the fatal error, and pass it to the installed exception handler.