Total Complexity | 3 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CalculatorServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | /** |
||
10 | * Bootstrap the application services. |
||
11 | */ |
||
12 | public function boot() |
||
26 | |||
27 | // Publishing the views. |
||
28 | /*$this->publishes([ |
||
29 | __DIR__.'/../resources/views' => resource_path('views/vendor/calculator'), |
||
30 | ], 'views');*/ |
||
31 | |||
32 | // Publishing assets. |
||
33 | /*$this->publishes([ |
||
34 | __DIR__.'/../resources/assets' => public_path('vendor/calculator'), |
||
35 | ], 'assets');*/ |
||
36 | |||
37 | // Publishing the translation files. |
||
38 | /*$this->publishes([ |
||
39 | __DIR__.'/../resources/lang' => resource_path('lang/vendor/calculator'), |
||
40 | ], 'lang');*/ |
||
41 | |||
42 | // Registering package commands. |
||
43 | // $this->commands([]); |
||
44 | } |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * Register the application services. |
||
49 | */ |
||
50 | public function register() |
||
61 |