src/Behat/Behat/Context/Cli/InteractiveContextIdentifier.php
private function askQuestion($message, $choices, $default)
    {
        $this->output->writeln('');
        $helper = new QuestionHelper();
        $question = new ChoiceQuestion(' ' . $message . "\n", $choices, $default);

        return $helper->ask($this->input, $this->output, $question);
    }
private function askQuestion($message, $choices, $default)
    {
        $this->output->writeln('');
        $helper = new QuestionHelper();
        $question = new ChoiceQuestion(' ' . $message . "\n", $choices, $default);

        return $helper->ask($this->input, $this->output, $question);
    }
private function askQuestion ( $ message , $ choices , $ default ) { $ this -> output -> writeln ( '' ) ; $ helper = new QuestionHelper ( ) ; $ question = new ChoiceQuestion ( ' ' . $ message . "\n" , $ choices , $ default ) ; return $ helper -> ask ( $ this -> input , $ this -> output , $ question ) ; }
Asks user question.

@param string   $message
@param string[] $choices
@param string   $default

@return string
Asks user question .