Label implements JsonSerializable
Read onlyYes
FinalYes
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
Properties
$color
public
string
$color
= '#ff8700'
$label
public
string
$label
$priority
public
int
$priority
= 0
Methods
__construct()
public
__construct(string $label[, string $color = '#ff8700' ][, int $priority = 0 ]) : mixed
Parameters
- $label : string
- $color : string = '#ff8700'
- $priority : int = 0
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>