Total Complexity | 5 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 2 | Features | 0 |
1 | <?php |
||
7 | class LikeServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | /** |
||
10 | * Bootstrap services. |
||
11 | */ |
||
12 | public function boot(): void |
||
13 | { |
||
14 | $this->registerAssetsPublishing(); |
||
15 | } |
||
16 | |||
17 | /** |
||
18 | * Register services. |
||
19 | */ |
||
20 | public function register(): void |
||
21 | { |
||
22 | $this->registerConfigs(); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Get the services provided by the provider. |
||
27 | * |
||
28 | * @return null|array<string> |
||
29 | */ |
||
30 | public function provides(): ?array |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Register configs. |
||
37 | */ |
||
38 | protected function registerConfigs(): void |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * Register assets publishing. |
||
46 | */ |
||
47 | public function registerAssetsPublishing(): void |
||
57 | } |
||
58 | } |
||
59 |