class ExceptionContext

Methods

static array
get(Throwable $exception)

Get the exception code context for the given exception.

static array|null
getEvalContext(Throwable $exception)

Get the exception code context when eval() failed.

static array
getFileContext(Throwable $exception)

Get the exception code context from a file.

Details

at line 16
static array get(Throwable $exception)

Get the exception code context for the given exception.

Parameters

Throwable $exception

Return Value

array

at line 25
static protected array|null getEvalContext(Throwable $exception)

Get the exception code context when eval() failed.

Parameters

Throwable $exception

Return Value

array|null

at line 39
static protected array getFileContext(Throwable $exception)

Get the exception code context from a file.

Parameters

Throwable $exception

Return Value

array