Documentation

Tags extends Component
in package

Table of Contents

$hint  : string|null
$id  : string|null
$keyValue  : bool
$label  : mixed
$name  : string
$options  : array<string|int, mixed>|Collection
$placeholder  : string|null
$values  : mixed
__construct()  : mixed
Create a new component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

$hint

public string|null $hint = null

$id

public string|null $id = null

$keyValue

public bool $keyValue = true

$label

public mixed $label = null

$name

public string $name

$options

public array<string|int, mixed>|Collection $options = []

$placeholder

public string|null $placeholder = null

$values

public mixed $values = []

Methods

__construct()

Create a new component instance.

public __construct(string $name[, mixed $label = null ][, string|null $id = null ][, mixed $values = [] ][, array<string|int, mixed> $options = [] ][, bool $keyValue = true ][, string|null $placeholder = null ][, string|null $hint = null ]) : mixed
Parameters
$name : string
$label : mixed = null
$id : string|null = null
$values : mixed = []
$options : array<string|int, mixed> = []
$keyValue : bool = true
$placeholder : string|null = null
$hint : string|null = null
Return values
mixed

render()

Get the view / contents that represent the component.

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

Search results