Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
7 | 13 | public function boot() |
|
8 | { |
||
9 | 13 | if ($this->app->runningInConsole()) { |
|
10 | 13 | $this->publishes([ |
|
11 | 13 | __DIR__.'/../config/temporal-key.php' => config_path('temporal-key.php'), |
|
12 | 13 | ], 'config'); |
|
13 | |||
14 | 13 | $this->commands([ |
|
15 | 13 | \TemporalKey\Console\Commands\PruneTemporalKeysCommand::class, |
|
16 | 13 | ]); |
|
17 | |||
18 | 13 | $this->registerMigrations(); |
|
19 | } |
||
34 |