| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 18 | public function handle() |
||
| 19 | { |
||
| 20 | foreach ($this->option('file') as $filename) { |
||
| 21 | $this->line('Rotate file '.basename($filename).': '); |
||
| 22 | |||
| 23 | $rotate = new Rotate(); |
||
| 24 | |||
| 25 | $rotate->file($filename, [ |
||
| 26 | 'files' => config('rotate.log_max_files', 366), |
||
| 27 | 'compress' => config('rotate.log_compress_files', true), |
||
| 28 | // 'then' => function () { |
||
| 38 |