Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function boot() |
||
13 | { |
||
14 | /* |
||
15 | * Configuration |
||
16 | */ |
||
17 | $this->publishes([ |
||
18 | __DIR__.'/../config/helper.php' => config_path('helper.php'), |
||
19 | ], 'laravel-helper-config'); |
||
20 | $this->mergeConfigFrom( |
||
21 | __DIR__.'/../config/helper.php', |
||
22 | 'helper' |
||
23 | ); |
||
24 | |||
25 | /* |
||
26 | * View |
||
27 | */ |
||
28 | $this->loadViewsFrom(__DIR__.'/../views', 'laravel-helper-view'); |
||
29 | $this->publishes([ |
||
30 | __DIR__.'/../views' => resource_path('views/vendor/laravel-helper'), |
||
31 | ]); |
||
41 |