Documentation

UndefinedFunctionFatalErrorHandler
in package
implements FatalErrorHandlerInterface

ErrorHandler for undefined functions.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Interfaces

FatalErrorHandlerInterface
Attempts to convert fatal errors to exceptions.

Methods

handleError()  : FatalErrorException|null
Attempts to convert an error into an exception.

Methods

handleError()

Attempts to convert an error into an exception.

public handleError(array<string|int, mixed> $error, FatalErrorException $exception) : FatalErrorException|null
Parameters
$error : array<string|int, mixed>

An array as returned by error_get_last()

$exception : FatalErrorException

A FatalErrorException instance

Return values
FatalErrorException|null

A FatalErrorException instance if the class is able to convert the error, null otherwise


        
On this page

Search results