Documentation

ParserException extends RuntimeException
in package
implements MonitoringEventsInterface, ResponseContainerInterface Uses HasMonitoringEventsTrait

Interfaces, Classes and Traits

MonitoringEventsInterface
Interface for adding and retrieving client-side monitoring events
ResponseContainerInterface

Table of Contents

$errorCode  : mixed
$monitoringEvents  : mixed
$requestId  : mixed
$response  : mixed
__construct()  : mixed
appendMonitoringEvent()  : mixed
Append a client-side monitoring event to this object's event list
getErrorCode()  : string|null
Get the error code, if any.
getMonitoringEvents()  : array<string|int, mixed>
Get client-side monitoring events attached to this object. Each event is represented as an associative array within the returned array.
getRequestId()  : string|null
Get the request ID, if any.
getResponse()  : ResponseInterface|null
Get the received HTTP response if any.
prependMonitoringEvent()  : mixed
Prepend a client-side monitoring event to this object's event list

Properties

Methods

__construct()

public __construct([mixed $message = '' ], mixed $code[, mixed $previous = null ][, array<string|int, mixed> $context = [] ]) : mixed
Parameters
$message : mixed = ''
$code : mixed
$previous : mixed = null
$context : array<string|int, mixed> = []
Return values
mixed

appendMonitoringEvent()

Append a client-side monitoring event to this object's event list

public appendMonitoringEvent(array<string|int, mixed> $event) : mixed
Parameters
$event : array<string|int, mixed>
Return values
mixed

getErrorCode()

Get the error code, if any.

public getErrorCode() : string|null
Return values
string|null

getMonitoringEvents()

Get client-side monitoring events attached to this object. Each event is represented as an associative array within the returned array.

public getMonitoringEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRequestId()

Get the request ID, if any.

public getRequestId() : string|null
Return values
string|null

prependMonitoringEvent()

Prepend a client-side monitoring event to this object's event list

public prependMonitoringEvent(array<string|int, mixed> $event) : mixed
Parameters
$event : array<string|int, mixed>
Return values
mixed

Search results