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