code: protected function askQuestions(InputInterface $input, OutputInterface $output)
      {
          foreach ($this->questions as $question) {
              if (!$question->ask($input, $output)) {
                  return static::RETURN_ERROR;
              }
          }
  
          return static::RETURN_SUCCESS;
      }
docs: Ask question before executing command.
  
  @param InputInterface  $input
  Input.
  @param OutputInterface $output
  Output.
  
  @return boolean
  True if passes all questions. Otherwise false.