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