Exemple #1
0
 /**
  * {@inheritdoc}
  */
 public function increment($increment = 1)
 {
     if ($this->bar === null) {
         return;
     }
     $this->bar->advance($increment);
     if ($this->bar->getProgress() === $this->bar->getMaxSteps()) {
         $this->consoleIO->getOutput()->writeln(' - Finished!');
     }
 }
Exemple #2
0
 /**
  * {@inheritdoc}
  */
 public function run(InputInterface $input = null, OutputInterface $output = null)
 {
     return parent::run($this->io->getInput(), $this->io->getOutput());
 }