1 | <?php |
||
19 | class LaminasStorageCache extends CacheProvider |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * @var StorageInterface |
||
24 | */ |
||
25 | protected $storage; |
||
26 | |||
27 | /** |
||
28 | * @param StorageInterface $storage |
||
29 | */ |
||
30 | 5 | public function __construct(StorageInterface $storage) |
|
34 | |||
35 | /** |
||
36 | * {@inheritDoc} |
||
37 | */ |
||
38 | 4 | protected function doFetch($id) |
|
44 | |||
45 | /** |
||
46 | * {@inheritDoc} |
||
47 | */ |
||
48 | 4 | protected function doContains($id) |
|
52 | |||
53 | /** |
||
54 | * {@inheritDoc} |
||
55 | */ |
||
56 | 4 | protected function doSave($id, $data, $lifeTime = false) |
|
61 | |||
62 | /** |
||
63 | * {@inheritDoc} |
||
64 | */ |
||
65 | 1 | protected function doDelete($id) |
|
69 | |||
70 | /** |
||
71 | * {@inheritDoc} |
||
72 | */ |
||
73 | 1 | protected function doFlush() |
|
84 | |||
85 | /** |
||
86 | * {@inheritDoc} |
||
87 | */ |
||
88 | 1 | protected function doGetStats() |
|
106 | } |
||
107 |
This class constant has been deprecated.