DocumentRequiredField
extends RequiredField
Table of Contents
Properties
-
$documentId
: int
-
$id
: int|null
-
$role
: string
-
$type
: string
Methods
-
__construct()
: mixed
-
jsonSerialize()
: array<string|int, mixed>
-
toArray()
: array<string|int, mixed>
$documentId
public
int
$documentId
$id
public
int|null
$id
= null
$role
public
string
$role
$type
public
string
$type
__construct()
public
__construct(string $type, string $role, int $documentId[, int|null $id = null ]) : mixed
Parameters
-
$type
: string
-
-
$role
: string
-
-
$documentId
: int
-
-
$id
: int|null
= null
-
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>