interface FatalErrorHandlerInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/debug/FatalErrorHandler/FatalErrorHandlerInterface.php \Symfony\Component\Debug\FatalErrorHandler\FatalErrorHandlerInterface
Attempts to convert fatal errors to exceptions.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\Debug\FatalErrorHandler\FatalErrorHandlerInterface
Expanded class hierarchy of FatalErrorHandlerInterface
All classes that implement FatalErrorHandlerInterface
1 file declares its use of FatalErrorHandlerInterface
- ErrorHandler.php in vendor/
symfony/ debug/ ErrorHandler.php
File
- vendor/
symfony/ debug/ FatalErrorHandler/ FatalErrorHandlerInterface.php, line 21
Namespace
Symfony\Component\Debug\FatalErrorHandlerView source
interface FatalErrorHandlerInterface {
/**
* Attempts to convert an error into an exception.
*
* @param array $error An array as returned by error_get_last()
* @param FatalErrorException $exception A FatalErrorException instance
*
* @return FatalErrorException|null A FatalErrorException instance if the class is able to convert the error, null otherwise
*/
public function handleError(array $error, FatalErrorException $exception);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FatalErrorHandlerInterface:: |
public | function | Attempts to convert an error into an exception. | 3 |