Field
in package
implements
JsonSerializable
AbstractYes
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
- setValue() : void
Properties
$alias
public
string|null
$alias
= null
$id
public
int|null
$id
= null
$tag
public
string|null
$tag
= null
$index
private
string
$index
$type
private
FieldType
$type
Methods
__construct()
public
__construct(string $index, FieldType $type) : mixed
Parameters
- $index : string
- $type : FieldType
Tags
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>setValue()
public
abstract setValue(mixed $value) : void
Parameters
- $value : mixed