Label
final readonly class \
- Implements
- JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __construct() : mixed
- jsonSerialize() : array
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