| Conditions | 3 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function boot(CacheManager $manager) |
||
| 33 | { |
||
| 34 | $this->publishes([ |
||
| 35 | __DIR__ . '/../config/laravel-aws-cache.php' => config_path('laravel-aws-cache.php') |
||
| 36 | ]); |
||
| 37 | |||
| 38 | if (config('laravel-aws-cache.enable') && !empty(config('laravel-aws-cache.filesystems'))) { |
||
| 39 | $this->insertCredentialSetting($manager); |
||
| 40 | } |
||
| 41 | } |
||
| 42 | |||
| 54 |