DocumentListItemData extends Data
FinalYes
Table of Contents
Properties
- $date : int|null
- $docType : string|null
- $fields : mixed
- $id : int|string|null
- $name : string|null
- $statuses : mixed
Methods
- __construct() : mixed
- getCachedCasts() : array<string|int, mixed>
- getCasts() : array<string, Caster>
- Method returns map, where key must relate to public property, and value specifies type of this property
- getValidators() : array<string|int, mixed>
- jsonSerialize() : mixed
- make() : mixed
- toArray() : array<string|int, mixed>
Properties
$date
public
int|null
$date
$docType
public
string|null
$docType
$fields
public
mixed
$fields
= []
$id
public
int|string|null
$id
$name
public
string|null
$name
$statuses
public
mixed
$statuses
= []
Methods
__construct()
public
__construct() : mixed
getCachedCasts()
public
getCachedCasts() : array<string|int, mixed>
Return values
array<string|int, mixed>getCasts()
Method returns map, where key must relate to public property, and value specifies type of this property
public
getCasts() : array<string, Caster>
Return values
array<string, Caster> —property name => typecaster object
getValidators()
public
getValidators() : array<string|int, mixed>
Return values
array<string|int, mixed>jsonSerialize()
public
jsonSerialize() : mixed
make()
public
static make([array<string|int, mixed>|null $fields = null ]) : mixed
Parameters
- $fields : array<string|int, mixed>|null = null
toArray()
public
toArray() : array<string|int, mixed>