1 | <?php |
||
13 | trait HasCacheStoreTrait |
||
14 | { |
||
15 | /** |
||
16 | * @param $adapter |
||
17 | * @param $config |
||
18 | */ |
||
19 | 2 | protected function checkForCacheNeeded(&$adapter, &$config) |
|
26 | |||
27 | /** |
||
28 | * @param $adapter |
||
29 | * @param $cache |
||
30 | * @return CachedAdapter |
||
31 | */ |
||
32 | 1 | protected function createCacheAdapter($adapter, $cache) |
|
36 | |||
37 | |||
38 | /** |
||
39 | * Create a cache store instance. |
||
40 | * |
||
41 | * @param mixed $config |
||
42 | * @return \League\Flysystem\Cached\CacheInterface|MemoryStore |
||
43 | * |
||
44 | * @throws \InvalidArgumentException |
||
45 | */ |
||
46 | 1 | protected function createCacheStore($config) |
|
58 | } |
||
59 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.