Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
15 | protected function configure() { |
||
16 | $this->setName('cron') |
||
17 | ->setDescription('Execute cron handlers for all or specified interval') |
||
18 | ->addOption('interval', 'i', InputOption::VALUE_OPTIONAL, |
||
19 | 'Name of the interval (e.g. hourly)' |
||
20 | ) |
||
21 | ->addOption('time', 't', InputOption::VALUE_OPTIONAL, |
||
22 | 'Time of the cron initialization' |
||
23 | ); |
||
56 | } |