Documentation

SilencedErrorContext
in package
implements JsonSerializable

Data Object that represents a Silenced Error.

Tags
author

Grégoire Pineau lyrixx@lyrixx.info

Interfaces, Classes and Traits

JsonSerializable

Table of Contents

$count  : mixed
$file  : mixed
$line  : mixed
$severity  : mixed
$trace  : mixed
__construct()  : mixed
getFile()  : mixed
getLine()  : mixed
getSeverity()  : mixed
getTrace()  : mixed
jsonSerialize()  : mixed
Specify data which should be serialized to JSON.

Properties

Methods

__construct()

public __construct(mixed $severity, mixed $file, mixed $line[, array<string|int, mixed> $trace = [] ][, mixed $count = 1 ]) : mixed
Parameters
$severity : mixed
$file : mixed
$line : mixed
$trace : array<string|int, mixed> = []
$count : mixed = 1
Return values
mixed

jsonSerialize()

Specify data which should be serialized to JSON.

public jsonSerialize() : mixed
Return values
mixed

data which can be serialized by json_encode, which is a value of any type other than a resource.

Search results