public function FatalErrorHandlerInterface::handleError in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/debug/FatalErrorHandler/FatalErrorHandlerInterface.php \Symfony\Component\Debug\FatalErrorHandler\FatalErrorHandlerInterface::handleError()
Attempts to convert an error into an exception.
Parameters
array $error An array as returned by error_get_last():
FatalErrorException $exception A FatalErrorException instance:
Return value
FatalErrorException|null A FatalErrorException instance if the class is able to convert the error, null otherwise
3 methods override FatalErrorHandlerInterface::handleError()
- ClassNotFoundFatalErrorHandler::handleError in vendor/
symfony/ debug/ FatalErrorHandler/ ClassNotFoundFatalErrorHandler.php - Attempts to convert an error into an exception.
- UndefinedFunctionFatalErrorHandler::handleError in vendor/
symfony/ debug/ FatalErrorHandler/ UndefinedFunctionFatalErrorHandler.php - Attempts to convert an error into an exception.
- UndefinedMethodFatalErrorHandler::handleError in vendor/
symfony/ debug/ FatalErrorHandler/ UndefinedMethodFatalErrorHandler.php - Attempts to convert an error into an exception.
File
- vendor/
symfony/ debug/ FatalErrorHandler/ FatalErrorHandlerInterface.php, line 31
Class
- FatalErrorHandlerInterface
- Attempts to convert fatal errors to exceptions.
Namespace
Symfony\Component\Debug\FatalErrorHandlerCode
public function handleError(array $error, FatalErrorException $exception);