src/Console/InitCommand.php
protected function select($text, $choices, $default = null)
    {
        $question = new ChoiceQuestion($text, $choices, $default);

        return $this->getHelper('question')->ask($this->input, $this->output, $question);
    }
protected function select($text, $choices, $default = null)
    {
        $question = new ChoiceQuestion($text, $choices, $default);

        return $this->getHelper('question')->ask($this->input, $this->output, $question);
    }
protected function select ( $ text , $ choices , $ default = null ) { $ question = new ChoiceQuestion ( $ text , $ choices , $ default ) ; return $ this -> getHelper ( 'question' ) -> ask ( $ this -> input , $ this -> output , $ question ) ; }
Ask user to choose from a list of options.

@param string $text
@param array $choices
@param mixed $default
@return mixed
Ask user to choose from a list of options .