getInteractiveQuestions() public method

Ejemplo n.º 1
0
 protected function interact(InputInterface $input, OutputInterface $output)
 {
     // Fill up questions
     if ($this->informationCollector->hasMissingInformation()) {
         foreach ($this->informationCollector->getInteractiveQuestions() as $name => $question) {
             $answer = $this->askQuestion($question);
             $this->informationCollector->setValueFor($name, $answer);
             $this->writeEmptyLine();
         }
     }
 }