class UndefinedMethodFatalErrorHandler implements FatalErrorHandlerInterface

ErrorHandler for undefined methods.

Methods

handleError(array $error, FatalErrorException $exception)

Attempts to convert an error into an exception.

Details

at line 27
FatalErrorException|null handleError(array $error, FatalErrorException $exception)

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