Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class LaravelHelperServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | /** |
||
10 | * Bootstrap the application services. |
||
11 | */ |
||
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 | ]); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Register the application services. |
||
36 | */ |
||
37 | public function register() |
||
39 | } |
||
40 | } |
||
41 |