Label implements JsonSerializable

Read onlyYes
FinalYes

Table of Contents

Interfaces

JsonSerializable

Properties

$color  : string
$label  : string
$priority  : int

Methods

__construct()  : mixed
jsonSerialize()  : array<string|int, mixed>

Properties

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>
Return values
array<string|int, mixed>

        
On this page

Search results