Select
class Select
Select helper.
Properties
protected Input | $input | Input instance. | |
protected Output | $output | Output instance. |
Methods
string
buildOptionsList(array $options)
Returns a list of options.
int
ask(string $question, array $options)
Prints out a list of options and returns the array key of the chosen value.