class Badge implements ItemInterface

Traits

Constants

PRIORITY_DEFAULT

PRIORITY_ATTENTION

PRIORITY_NOTE

PRIORITY_WARNING

PRIORITY_SUCCESS

Methods

string
__toString()

No description

static Badge
create(int $userId, I18nTokenHelper $title, I18nTokenHelper $description = null, string $priority = '')

No description

string
getPriority()

No description

int
getUserId()

No description

array
jsonSerialize()

Transforms the array structure of this option into a JSON string.

string
render()

No description

array
toArray()

No description

Details

at line 79
string __toString()

No description

Return Value

string

at line 53
static Badge create(int $userId, I18nTokenHelper $title, I18nTokenHelper $description = null, string $priority = '')

No description

Parameters

int $userId
I18nTokenHelper $title
I18nTokenHelper $description
string $priority

Return Value

Badge

at line 20
string getPriority()

No description

Return Value

string

at line 86
int getUserId()

No description

Return Value

int

in ItemTrait at line 13
array jsonSerialize()

Transforms the array structure of this option into a JSON string.

Return Value

array

at line 60
string render()

No description

Return Value

string

at line 67
array toArray()

No description

Return Value

array