RequiredField
implements
Item, JsonSerializable, Arrayable
Table of Contents
Interfaces
- Item
- JsonSerializable
- Arrayable
Properties
-
$role
: string
-
$type
: string
Methods
-
__construct()
: mixed
-
jsonSerialize()
: array<string|int, mixed>
-
toArray()
: array<string|int, mixed>
$role
public
string
$role
$type
public
string
$type
__construct()
public
__construct(string $type, string $role) : mixed
Parameters
-
$type
: string
-
-
$role
: string
-
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>