Exemplo n.º 1
0
 private function cleanup()
 {
     $this->IOHelper->writeln("Cleanup old files, clearing caches...");
     $this->deleteDummyPlugins();
     $this->cleanupFiles();
     $this->cleanupCache();
 }
Exemplo n.º 2
0
 /**
  * Facade for asking questions
  *
  * @param  Question $question
  * @return string
  */
 public function askQuestion(Question $question)
 {
     return $this->IOHelper->ask($question);
 }
Exemplo n.º 3
0
 /**
  * @return bool
  */
 protected function shouldSkipImport()
 {
     $question = new ConfirmationQuestion('The database already contains shopware tables. Skip import? (yes/no) [yes]', true);
     $skipImport = $this->IOHelper->ask($question);
     return (bool) $skipImport;
 }