1 | <?php |
||
9 | class DrupalCache extends CacheProvider |
||
10 | { |
||
11 | /** |
||
12 | * @var CacheBackendInterface |
||
13 | */ |
||
14 | private $cache; |
||
15 | |||
16 | /** |
||
17 | * @param CacheBackendInterface $cache |
||
18 | */ |
||
19 | 5 | public function __construct(CacheBackendInterface $cache) |
|
23 | |||
24 | /** |
||
25 | * @inheritdoc |
||
26 | */ |
||
27 | 5 | protected function doFetch($id) |
|
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | */ |
||
35 | protected function doContains($id) |
||
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | 5 | protected function doSave($id, $data, $lifeTime = 0) |
|
47 | |||
48 | /** |
||
49 | * @inheritdoc |
||
50 | */ |
||
51 | protected function doDelete($id) |
||
55 | |||
56 | /** |
||
57 | * @inheritdoc |
||
58 | */ |
||
59 | protected function doFlush() |
||
63 | |||
64 | /** |
||
65 | * @inheritdoc |
||
66 | */ |
||
67 | protected function doGetStats() |
||
77 | } |
||
78 |