Documentation

Keyvalue extends Component

Table of Contents

$hint  : string|null
$id  : string
$label  : string|null
$name  : string
$placeholderKey  : string
$placeholderValue  : string
$value  : mixed
$values  : Collection
__construct()  : mixed
Create a new component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

$placeholderKey

public string $placeholderKey

$placeholderValue

public string $placeholderValue

Methods

__construct()

Create a new component instance.

public __construct(string $name[, mixed $value = null ][, string $id = null ][, mixed $label = null ][, array<string|int, mixed> $attributes = [] ][, string $placeholderKey = null ][, string $placeholderValue = null ][, string $hint = null ]) : mixed
Parameters
$name : string
$value : mixed = null
$id : string = null
$label : mixed = null
$attributes : array<string|int, mixed> = []
$placeholderKey : string = null
$placeholderValue : string = null
$hint : string = null
Return values
mixed

render()

Get the view / contents that represent the component.

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

Search results