Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $options = [new InputOption(self::INPUT_KEY_DAYS, null, InputOption::VALUE_REQUIRED, 'Save log for specified number of days', '1')];
     $this->setName('log:clean')->setDescription('Cleans Logs')->setDefinition($options);
     parent::configure();
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('log:status')->setDescription('Displays statistics per log tables');
     parent::configure();
 }