| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | public function boot(): void |
||
| 10 | { |
||
| 11 | if ($this->app->runningInConsole()) { |
||
| 12 | if (NovaExportConfig::$runsMigrations) { |
||
| 13 | $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
||
| 14 | } |
||
| 15 | |||
| 16 | $this->publishes([ |
||
| 17 | __DIR__ . '/../config/nova-export-configuration.php' => config_path('nova-export-configuration.php'), |
||
| 18 | ], 'config'); |
||
| 19 | } |
||
| 20 | |||
| 21 | $this->configureExportResource(); |
||
| 22 | } |
||
| 38 |