| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | 4 | public function boot() |
|
| 8 | { |
||
| 9 | 4 | if ($this->app->runningInConsole()) { |
|
| 10 | 4 | $this->publishes([ |
|
| 11 | 4 | __DIR__ . '/../config/uk-towns.php' => config_path('uk-towns.php'), |
|
| 12 | ], 'config'); |
||
| 13 | |||
| 14 | |||
| 15 | 4 | $this->commands([ |
|
| 16 | \UKTowns\Console\ImportTownsToDatabase::class, |
||
| 17 | \UKTowns\Console\ImportPostcodesToDatabase::class, |
||
| 18 | ]); |
||
| 30 |