Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | 62 | public function boot() |
|
29 | { |
||
30 | 62 | $source = realpath(__DIR__ . '/../Config/config.php'); |
|
31 | |||
32 | 62 | $this->publishes([ |
|
33 | 62 | __DIR__ . '/../Config/config.php' => config_path('laravel-elasticsearch-dsl.php'), |
|
34 | 62 | ], 'config'); |
|
35 | |||
36 | 62 | $this->mergeConfigFrom($source, 'laravel-elasticsearch-dsl'); |
|
37 | 62 | } |
|
52 |