Conditions | 4 |
Paths | 6 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 4 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | 10 | public function boot() |
|
11 | { |
||
12 | 10 | if (DynamicExport::$useRoutes) { |
|
13 | 10 | $this->loadRoutesFrom(__DIR__.'/../routes/web.php'); |
|
14 | } |
||
15 | |||
16 | 10 | if ($this->app->runningInConsole()) { |
|
17 | 10 | if (DynamicExport::$runsMigrations) { |
|
18 | 10 | $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
|
19 | } |
||
20 | |||
21 | 10 | $this->publishes([ |
|
22 | 10 | __DIR__ . '/../config/nova-resource-dynamic-export.php' => config_path('nova-resource-dynamic-export.php'), |
|
23 | 10 | ], 'config'); |
|
24 | } |
||
35 |