| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | class RotateFileCommand extends Command |
||
| 9 | { |
||
| 10 | protected $signature = 'rotate:files |
||
| 11 | {--f|file=* : Files to rotate} |
||
| 12 | {--c|compress=true : Compress the file rotated} |
||
| 13 | {--m|max-files=5 : Max files rotated} |
||
| 14 | {--d|dir= : Dir where archive the file rotated}'; |
||
| 15 | |||
| 16 | protected $description = 'Rotate files'; |
||
| 17 | |||
| 18 | public function handle() |
||
| 38 |