ExceptionDataProcessor
in package
implements
ProcessorInterface
Class ExceptionDataProcessor
Interfaces, Classes and Traits
- ProcessorInterface
Table of Contents
- $addCodeSnippets : bool
- __construct() : mixed
- ExceptionHydrationProcessor constructor.
- __invoke() : array<string|int, mixed>
- getCodeSnippet() : string
- updateExceptionData() : void
Properties
$addCodeSnippets
private
bool
$addCodeSnippets
Methods
__construct()
ExceptionHydrationProcessor constructor.
public
__construct([bool $addCodeSnippets = false ]) : mixed
Parameters
- $addCodeSnippets : bool = false
Return values
mixed —__invoke()
public
__invoke(array<string|int, mixed> $recordData) : array<string|int, mixed>
Parameters
- $recordData : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getCodeSnippet()
private
getCodeSnippet(string $file, int $line) : string
Parameters
- $file : string
- $line : int
Return values
string —updateExceptionData()
private
updateExceptionData(Exception|array<string|int, mixed> &$exception) : void
Parameters
- $exception : Exception|array<string|int, mixed>