Total Complexity | 4 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 0 |
1 | <?php |
||
7 | abstract class AbstractCacheDriver implements CacheInterface |
||
8 | { |
||
9 | /** |
||
10 | * The config of the driver. |
||
11 | * |
||
12 | * @var array |
||
13 | */ |
||
14 | protected $config; |
||
15 | |||
16 | /** |
||
17 | * The keys of the cached values. |
||
18 | * |
||
19 | * @var array |
||
20 | */ |
||
21 | protected $keys; |
||
22 | |||
23 | /** |
||
24 | * Returns the config property. |
||
25 | * |
||
26 | * @return array |
||
27 | */ |
||
28 | public function getConfig() |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Returns the value for some config entry. |
||
35 | * |
||
36 | * @param string $key |
||
37 | * |
||
38 | * @return mixed|null |
||
39 | */ |
||
40 | 8 | public function getConfigKey($key) |
|
43 | } |
||
44 | |||
45 | /** |
||
46 | * Returns the keys property. |
||
47 | * |
||
48 | * @return array |
||
49 | */ |
||
50 | 1 | public function getKeys() |
|
55 |