Ejemplo n.º 1
0
 /**
  * {@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);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritDoc}
  */
 protected function initialize(InputInterface $input, OutputInterface $output)
 {
     parent::initialize($input, $output);
     $this->cleanup = $input->getOption('cleanup');
 }
Ejemplo n.º 3
0
 /**
  * {@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);
 }