CategoryDefinition
Read onlyYes
Table of Contents
Properties
- $description : string|null
- $icon : string|null
- $key : string
- $label : string
- $parent : string|null
Methods
- __construct() : mixed
- __set_state() : self
- toArray() : array<string|int, mixed>
Properties
$description
public
string|null
$description
= null
$icon
public
string|null
$icon
= null
$key
public
string
$key
$label
public
string
$label
$parent
public
string|null
$parent
= null
Methods
__construct()
public
__construct(string $key, string $label[, string|null $description = null ][, string|null $icon = null ][, string|null $parent = null ]) : mixed
Parameters
- $key : string
- $label : string
- $description : string|null = null
- $icon : string|null = null
- $parent : string|null = null
__set_state()
public
static __set_state(array<string|int, mixed> $state) : self
Parameters
- $state : array<string|int, mixed>
Return values
selftoArray()
public
toArray() : array<string|int, mixed>