Conditions | 2 |
Paths | 2 |
Total Lines | 17 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
26 | public function boot() |
||
27 | { |
||
28 | $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); |
||
29 | |||
30 | if ($this->app->runningInConsole()) { |
||
31 | $this->commands([ |
||
32 | CleanOtps::class, |
||
33 | ]); |
||
34 | } |
||
35 | |||
36 | $this->publishes([ |
||
37 | __DIR__ . '/../config/otpify.php' => config_path('otpify.php') |
||
|
|||
38 | ], 'otpify-config'); |
||
39 | |||
40 | $this->publishes([ |
||
41 | __DIR__ . '/../database/migrations/' => database_path('migrations') |
||
42 | ], 'otpify-migrations'); |
||
43 | } |
||
45 |