AXIAM PHP SDK

MdsRefreshOutcomeInitial
in package
implements MdsRefreshOutcomeVariant

FinalYes

The `initial` arm of {@see MdsRefreshOutcome} (`outcome: "initial"`).

Table of Contents

Interfaces

MdsRefreshOutcomeVariant
`POST /api/v1/mds/refresh` response — the outcome of one ingestion attempt (mirrors `axiam_db::mds_ingest::MdsIngestOutcome`).

Properties

$entryCount  : int
$no  : int

Methods

__construct()  : mixed
Constructs the `initial` arm.
fromArray()  : self
Rebuilds the `initial` arm from one decoded JSON object.
jsonSerialize()  : array<string, mixed>
Renders this arm for `json_encode()`.
toArray()  : array<string, mixed>
Renders this arm to its wire form, re-attaching `outcome: "initial"`.

Properties

Methods

__construct()

Constructs the `initial` arm.

public __construct(int $entryCount, int $no) : mixed
Parameters
$entryCount : int

the server's entry_count field

$no : int

the server's no field

fromArray()

Rebuilds the `initial` arm from one decoded JSON object.

public static fromArray(array<string, mixed> $data) : self
Parameters
$data : array<string, mixed>

The raw wire object.

Return values
self

jsonSerialize()

Renders this arm for `json_encode()`.

public jsonSerialize() : array<string, mixed>
Return values
array<string, mixed>

toArray()

Renders this arm to its wire form, re-attaching `outcome: "initial"`.

public toArray() : array<string, mixed>
Return values
array<string, mixed>
On this page

Search results