Documentation

ApiRequest
in package

Information on the API request made to the server.

Table of Contents

Properties

$error  : array<string, int|float|string|bool|null|array<string|int, mixed>>|string|null
$resources  : array<string, int|float|string|bool|null|array<string|int, mixed>>|string|null
$status  : array<string, int|float|string|bool|null|array<string|int, mixed>>|string
$statusCode  : int
$url  : string|null

Methods

__construct()  : mixed

Properties

$error

public array<string, int|float|string|bool|null|array<string|int, mixed>>|string|null $error

Error content, if any.

$resources

public array<string, int|float|string|bool|null|array<string|int, mixed>>|string|null $resources

Information on the target resources

$status

public array<string, int|float|string|bool|null|array<string|int, mixed>>|string $status

Status as sent back by the API.

$statusCode

public int $statusCode

HTTP status code.

$url

public string|null $url

URL of the request.

Methods

__construct()

public __construct(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawResponse) : mixed
Parameters
$rawResponse : array<string, int|float|string|bool|null|array<string|int, mixed>>

Raw HTTP response.

On this page

Search results