1 | <?php |
||
40 | class ZendDataCache extends SimpleCache |
||
41 | { |
||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | protected function getValue($key) |
||
46 | { |
||
47 | $result = zend_shm_cache_fetch($key); |
||
48 | return $result === null ? false : $result; |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | protected function setValue($key, $value, $ttl) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | protected function deleteValue($key) |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function clear() |
||
74 | } |
||
75 |