Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
17 | public function boot() |
||
18 | { |
||
19 | if ($this->app->runningInConsole()) { |
||
20 | $this->publishes([ |
||
21 | __DIR__.'/../config/rotate.php' => $this->app->configPath('rotate.php'), |
||
22 | ], 'config'); |
||
23 | |||
24 | $this->commands([ |
||
25 | RotateCommand::class, |
||
26 | RotateFileCommand::class, |
||
27 | ]); |
||
28 | |||
29 | $this->registerSchedule(); |
||
30 | } |
||
57 |