/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->setName('cleanup-tx'); $this->setDescription('Purges the defined .tx folder.'); $this->setHelp('Purges the defined .tx folder. ' . 'You can use this little helper command to quickly start from zero again.' . PHP_EOL); }
/** * {@inheritDoc} */ protected function initialize(InputInterface $input, OutputInterface $output) { parent::initialize($input, $output); $this->cleanup = $input->getOption('cleanup'); }
/** * {@inheritDoc} * * @throws */ protected function initialize(InputInterface $input, OutputInterface $output) { parent::initialize($input, $output); $this->user = $this->getUser($input, $output); $this->password = $this->getPassword($input, $output); }