1 | <?php |
||
6 | class FlintRedisCacheFlintstone implements FlintRedisCache |
||
7 | { |
||
8 | |||
9 | private $flintstone; |
||
10 | |||
11 | public function __construct($realm = 'default', $options = []) |
||
12 | { |
||
13 | $this->flintstone = new Flintstone($realm, $options); |
||
14 | } |
||
15 | |||
16 | 12 | public function get($key) |
|
20 | |||
21 | 6 | public function getAll() |
|
25 | |||
26 | 12 | public function getKeys() |
|
30 | |||
31 | 18 | public function set($key, $value) |
|
35 | |||
36 | 6 | public function delete($key) |
|
40 | |||
41 | 6 | public function flush() |
|
45 | } |
||
46 |