trait HasLabel (View source)

Properties

protected bool|Closure $isLabelHidden
protected Htmlable|Closure|null $label
protected bool $shouldTranslateLabel

Methods

hiddenLabel(bool|Closure $condition = true)

No description

label(Htmlable|Closure|null $label)

No description

translateLabel(bool $shouldTranslateLabel = true)

No description

Htmlable|null
getLabel()

No description

bool
isLabelHidden()

No description

Details

HasLabel hiddenLabel(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasLabel

HasLabel label(Htmlable|Closure|null $label)

No description

Parameters

Htmlable|Closure|null $label

Return Value

HasLabel

HasLabel translateLabel(bool $shouldTranslateLabel = true)

No description

Parameters

bool $shouldTranslateLabel

Return Value

HasLabel

Htmlable|null getLabel()

No description

Return Value

Htmlable|null

bool isLabelHidden()

No description

Return Value

bool