ItemData extends Data
FinalYes
Table of Contents
Properties
- $badges : array<string|int, mixed>|null
- $client : array<string|int, mixed>|null
- $columnId : string|null
- $counters : array<string|int, mixed>|null
- $date : int|null
- $dateFormatted : string|null
- $descriptionRow : array<string|int, mixed>|null
- $fields : mixed
- $id : int|string|null
- $money : array<string|int, mixed>|null
- $name : string|null
- $permissions : array<string|int, mixed>|null
- $price : float|null
- $return : bool|null
- $returnApproach : bool|null
- $subTitleText : string|null
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
$badges
public
array<string|int, mixed>|null
$badges
$client
public
array<string|int, mixed>|null
$client
$columnId
public
string|null
$columnId
$counters
public
array<string|int, mixed>|null
$counters
$date
public
int|null
$date
$dateFormatted
public
string|null
$dateFormatted
$descriptionRow
public
array<string|int, mixed>|null
$descriptionRow
$fields
public
mixed
$fields
= []
$id
public
int|string|null
$id
$money
public
array<string|int, mixed>|null
$money
$name
public
string|null
$name
$permissions
public
array<string|int, mixed>|null
$permissions
$price
public
float|null
$price
$return
public
bool|null
$return
$returnApproach
public
bool|null
$returnApproach
$subTitleText
public
string|null
$subTitleText
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>