Documentation

ContainerEnum extends Component
in package

Table of Contents

$cases  : array<string|int, mixed>
$label  : string
$useColor  : bool
__construct()  : mixed
Create a new component instance.
render()  : View|Closure|string
Get the view / contents that represent the component.

Properties

Methods

__construct()

Create a new component instance.

public __construct(string $label, array<string|int, mixed> $cases[, bool $useColor = false ]) : mixed
Parameters
$label : string
$cases : array<string|int, mixed>
$useColor : bool = false
Return values
mixed

render()

Get the view / contents that represent the component.

public render() : View|Closure|string
Return values
View|Closure|string

Search results