trait HasOptions (View source)

Properties

protected Options|null $options
protected int $columns

Methods

options(Options|Closure|array $options)

List of options to display in the field.

addOption(Option $option)

Adds a single option.

getOptions()

No description

Details

HasOptions options(Options|Closure|array $options)

List of options to display in the field.

Parameters

Options|Closure|array $options

Return Value

HasOptions

HasOptions addOption(Option $option)

Adds a single option.

Parameters

Option $option

Return Value

HasOptions

protected Options getOptions()

No description

Return Value

Options