Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class LaraCacheServiceProvider extends ServiceProvider |
||
12 | { |
||
13 | public function boot(): void |
||
14 | { |
||
15 | if ($this->app->runningInConsole()) { |
||
16 | $this->publishes([__DIR__ . '/../config/config.php' => config_path('laracache.php')], 'config'); |
||
17 | } |
||
18 | |||
19 | $this->commands([ |
||
20 | UpdateCacheCommand::class, |
||
21 | DeleteCacheCommand::class, |
||
22 | UpdateGroupCacheCommand::class, |
||
23 | DeleteGroupCacheCommand::class |
||
24 | ]); |
||
25 | } |
||
26 | |||
27 | public function register(): void |
||
33 | }); |
||
34 | } |
||
36 |