SDK for PHP 3.x

ParserException extends RuntimeException
in package
implements MonitoringEventsInterface, ResponseContainerInterface Uses HasMonitoringEventsTrait

Table of Contents

Interfaces

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

Methods

__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

Methods

__construct()

public __construct([mixed $message = '' ][, mixed $code = 0 ][, mixed $previous = null ][, array<string|int, mixed> $context = [] ]) : mixed
Parameters
$message : mixed = ''
$code : mixed = 0
$previous : mixed = null
$context : array<string|int, 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>

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>
On this page