| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | 1 | public function boot() |
|
| 16 | { |
||
| 17 | 1 | $source = realpath(__DIR__ . '/../Config/config.php'); |
|
| 18 | |||
| 19 | 1 | $this->publishes([ |
|
| 20 | 1 | __DIR__ . '/../Config/config.php' => config_path('triadev-elasticsearch.php'), |
|
| 21 | 1 | ], 'config'); |
|
| 22 | |||
| 23 | 1 | $this->mergeConfigFrom($source, 'triadev-elasticsearch'); |
|
| 24 | 1 | } |
|
| 38 |