private function cleanup() { $this->IOHelper->writeln("Cleanup old files, clearing caches..."); $this->deleteDummyPlugins(); $this->cleanupFiles(); $this->cleanupCache(); }
/** * Facade for asking questions * * @param Question $question * @return string */ public function askQuestion(Question $question) { return $this->IOHelper->ask($question); }
/** * @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; }