Category extends Dto
FinalYes
Table of Contents
Properties
- $access : string|null
- $categoriesEnabled : bool
- $categoriesSupported : bool
- $categoryId : int
- $counter : int|null
- $documentFields : array<string|int, DocumentField>|null
- $editable : bool
- $failedStages : array<string|int, Stage>|null
- $id : int|null
- $isDefault : bool
- $name : string|null
- $processStages : array<string|int, Stage>|null
- $sort : int|null
- $stagesEnabled : bool
- $successStages : array<string|int, Stage>|null
- $tunnels : array<string|int, Tunnel>|null
- $tunnelsEnabled : bool
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
- jsonSerialize() : mixed
- make() : mixed
- toArray() : array<string|int, mixed>
Properties
$access
public
string|null
$access
$categoriesEnabled
public
bool
$categoriesEnabled
= false
$categoriesSupported
public
bool
$categoriesSupported
= false
$categoryId
public
int
$categoryId
$counter
public
int|null
$counter
$documentFields
public
array<string|int, DocumentField>|null
$documentFields
$editable
public
bool
$editable
$failedStages
public
array<string|int, Stage>|null
$failedStages
= []
$id
public
int|null
$id
$isDefault
public
bool
$isDefault
$name
public
string|null
$name
$processStages
public
array<string|int, Stage>|null
$processStages
= []
$sort
public
int|null
$sort
$stagesEnabled
public
bool
$stagesEnabled
= false
$successStages
public
array<string|int, Stage>|null
$successStages
= []
$tunnels
public
array<string|int, Tunnel>|null
$tunnels
= []
$tunnelsEnabled
public
bool
$tunnelsEnabled
= false
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
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>