DataSchemaReplace
in package
The structure to completely replace the data schema of the model.
Table of Contents
Properties
- $fields : array<string|int, DataSchemaField>
Methods
- __construct() : mixed
- __toString() : string
- toJson() : array<string|int, mixed>
Properties
$fields
public
array<string|int, DataSchemaField>
$fields
Fields to replace in the data schema.
Methods
__construct()
public
__construct(array<string|int, mixed> $serverResponse) : mixed
Parameters
- $serverResponse : array<string|int, mixed>
-
Raw server response array.
Tags
__toString()
public
__toString() : string
Return values
string —String representation.
toJson()
public
toJson() : array<string|int, mixed>
Return values
array<string|int, mixed> —JSON representation.