Field
in package
implements
JsonSerializable
AbstractYes
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __construct() : mixed
- jsonSerialize() : array{index: string, type: string, alias: ?string, tag: ?string, id: ?int, content?: string, checked?: bool}
- 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{index: string, type: string, alias: ?string, tag: ?string, id: ?int, content?: string, checked?: bool}
Tags
Return values
array{index: string, type: string, alias: ?string, tag: ?string, id: ?int, content?: string, checked?: bool}setValue()
public
abstract setValue(mixed $value) : void
Parameters
- $value : mixed