| Conditions | 3 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 343 | public function boot() |
|
| 28 | { |
||
| 29 | 343 | if (isset($this->app['db'])) { |
|
| 30 | 343 | Model::setConnectionResolver($this->app['db']); |
|
| 31 | } |
||
| 32 | |||
| 33 | 343 | if (isset($this->app['events'])) { |
|
| 34 | 343 | Model::setEventDispatcher($this->app['events']); |
|
| 35 | } |
||
| 36 | |||
| 37 | 343 | $this->publishes([ |
|
| 38 | 343 | __DIR__ . '/../config/arangodb.php' => config_path('arangodb.php'), |
|
| 39 | 343 | ]); |
|
| 87 |