src/Robo/Common/IO.php
protected function askChoice($question, $options, $default = NULL) {
    return $this->doAsk(new ChoiceQuestion($this->formatQuestion($question),
      $options, $default));
  }
protected function askChoice($question, $options, $default = NULL) {
    return $this->doAsk(new ChoiceQuestion($this->formatQuestion($question),
      $options, $default));
  }
protected function askChoice ( $ question , $ options , $ default = NULL ) { return $ this -> doAsk ( new ChoiceQuestion ( $ this -> formatQuestion ( $ question ) , $ options , $ default ) ) ; }
Asks the user a multiple-choice question.

@param string $question
The question text.
@param array $options
An array of available options.

@return string
The chosen option.
Asks the user a multiple - choice question .