You are here

protected function ErrorHandler::getFatalErrorHandlers in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/debug/ErrorHandler.php \Symfony\Component\Debug\ErrorHandler::getFatalErrorHandlers()

Gets the fatal error handlers.

Override this method if you want to define more fatal error handlers.

Return value

FatalErrorHandlerInterface[] An array of FatalErrorHandlerInterface

1 call to ErrorHandler::getFatalErrorHandlers()
ErrorHandler::handleException in vendor/symfony/debug/ErrorHandler.php
Handles an exception by logging then forwarding it to another handler.

File

vendor/symfony/debug/ErrorHandler.php, line 619

Class

ErrorHandler
A generic ErrorHandler for the PHP engine.

Namespace

Symfony\Component\Debug

Code

protected function getFatalErrorHandlers() {
  return array(
    new UndefinedFunctionFatalErrorHandler(),
    new UndefinedMethodFatalErrorHandler(),
    new ClassNotFoundFatalErrorHandler(),
  );
}