Total Complexity | 5 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class ProductServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | /** |
||
10 | * Boot the configurations |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function boot(): void |
||
19 | } |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Register the configurations |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | public function register(): void |
||
28 | { |
||
29 | $this->mergeConfigFrom(__DIR__.'/../config/laravel-inventory.php', 'laravel-inventory'); |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Get the services provided by the provider. |
||
34 | * |
||
35 | * @return array |
||
36 | */ |
||
37 | public function provides() |
||
38 | { |
||
39 | return ['inventory']; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Register the bootable configurations |
||
44 | * |
||
45 | * @return void |
||
46 | */ |
||
47 | protected function bootForConsole(): void |
||
58 | } |
||
59 | } |