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
$entryCount read-only
public
int
$entryCount
$no read-only
public
int
$no
Methods
__construct()
Constructs the `initial` arm.
public
__construct(int $entryCount, int $no) : mixed
Parameters
- $entryCount : int
-
the server's
entry_countfield - $no : int
-
the server's
nofield
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
selfjsonSerialize()
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>