SilencedErrorContext
in package
implements
JsonSerializable
Data Object that represents a Silenced Error.
Tags
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
- $count : mixed
- $file : mixed
- $line : mixed
- $severity : mixed
- $trace : mixed
- __construct() : mixed
- getFile() : string
- getLine() : int
- getSeverity() : int
- getTrace() : array<string|int, mixed>
- jsonSerialize() : array<string|int, mixed>
Properties
$count
public
mixed
$count
= 1
$file
private
mixed
$file
$line
private
mixed
$line
$severity
private
mixed
$severity
$trace
private
mixed
$trace
Methods
__construct()
public
__construct(int $severity, string $file, int $line[, array<string|int, mixed> $trace = [] ][, int $count = 1 ]) : mixed
Parameters
- $severity : int
- $file : string
- $line : int
- $trace : array<string|int, mixed> = []
- $count : int = 1
Return values
mixed —getFile()
public
getFile() : string
Return values
string —getLine()
public
getLine() : int
Return values
int —getSeverity()
public
getSeverity() : int
Return values
int —getTrace()
public
getTrace() : array<string|int, mixed>
Return values
array<string|int, mixed> —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>