private function cleanup() { $this->IOHelper->writeln("Cleanup old files, clearing caches..."); $this->deleteDummyPlugins(); $this->cleanupFiles(); $this->cleanupCache(); }
/** * @param string[] $currencies * @return string currency */ protected function askForCurrencyInformation($currencies) { $this->IOHelper->cls(); $this->IOHelper->writeln("<info>=== Currency Information ===</info>"); $question = new ChoiceQuestion("Please select your shop currency", $currencies); $question->setErrorMessage('Currency %s is invalid.'); $currency = $this->IOHelper->ask($question); return $currency; }