BaseComponent
extends Mappable
in package
implements
JsonSerializable
AbstractYes
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __construct() : mixed
- Construct from a JSON object response value from the SKY API
- __get() : mixed
- jsonSerialize() : mixed
Properties
$data
JSON array of object data
protected
array<string, mixed>
$data
$fields
protected
static array<string, class-string|string>
$fields
= []
Methods
__construct()
Construct from a JSON object response value from the SKY API
public
__construct(array<string, mixed> $data) : mixed
APIYes
Parameters
- $data : array<string, mixed>
__get()
public
__get(string $name) : mixed
APIYes
Parameters
- $name : string
jsonSerialize()
public
jsonSerialize() : mixed
APIYes