trait HasLabel (View source)

Properties

protected string|Closure|null $label
protected bool $shouldTranslateLabel

Methods

label(string|Closure|null $label)

No description

translateLabel(bool $shouldTranslateLabel = true)

No description

string
getLabel()

No description

Details

HasLabel label(string|Closure|null $label)

No description

Parameters

string|Closure|null $label

Return Value

HasLabel

HasLabel translateLabel(bool $shouldTranslateLabel = true)

No description

Parameters

bool $shouldTranslateLabel

Return Value

HasLabel

string getLabel()

No description

Return Value

string