think\console\Output::askQuestion PHP Method

askQuestion() protected method

protected askQuestion ( Input $input, Question $question )
$input Input
$question think\console\output\Question
    protected function askQuestion(Input $input, Question $question)
    {
        $ask = new Ask($input, $this, $question);
        $answer = $ask->run();
        if ($input->isInteractive()) {
            $this->newLine();
        }
        return $answer;
    }