SilencedErrorContext
in package
implements
JsonSerializable
Data Object that represents a Silenced Error.
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __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
string
$file
$line
private
int
$line
$severity
private
int
$severity
$trace
private
array<string|int, 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
getFile()
public
getFile() : string
Return values
stringgetLine()
public
getLine() : int
Return values
intgetSeverity()
public
getSeverity() : int
Return values
intgetTrace()
public
getTrace() : array<string|int, mixed>
Return values
array<string|int, mixed>jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>