\Charcoal\Admin\PropertySelectableInputInterface

Defines an input property for picking one or more values from an array of choices.

Summary

Methods
Constants
choices()
isChoiceSelected()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

choices()

choices() : \Charcoal\Admin\Property\Generator|array

Retrieve the selectable options.

Returns

\Charcoal\Admin\Property\Generator|array

isChoiceSelected()

isChoiceSelected(mixed  $choice) : boolean

Determine if the provided option is a selected value.

Parameters

mixed $choice

The choice to check.

Returns

boolean