Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
43 | protected function insertCredentialSetting(CacheManager $manager) |
||
44 | { |
||
45 | collect(explode(',', config('laravel-aws-cache.filesystems'))) |
||
46 | ->each(function ($filesystem) use ($manager) { |
||
47 | config([ |
||
48 | 'filesystems.disks.' . $filesystem . '.credentials', |
||
49 | new LaravelCacheAdapter($manager, config('laravel-aws-cache.cache'), $filesystem) |
||
50 | ]); |
||
51 | }); |
||
52 | } |
||
53 | } |
||
54 |