Ptondereau\PackMe\Commands\AbstractBaseCommand::ask PHP Метод

ask() защищенный Метод

protected ask ( string $question, null $default = null ) : string
$question string
$default null
Результат string
    protected function ask($question, $default = null)
    {
        /** @var \Symfony\Component\Console\Helper\QuestionHelper $helper */
        $helper = $this->helperSet->get('question');
        $question = new Question($question, $default);
        return $helper->ask($this->input, $this->getErrorOutput(), $question);
    }