1 | <?php |
||
6 | class FlintRedisCacheRedis implements FlintRedisCache |
||
7 | { |
||
8 | |||
9 | private $realm; |
||
10 | |||
11 | private $predis; |
||
12 | |||
13 | 12 | public function __construct($realm = 'default', $options = []) |
|
18 | |||
19 | 3 | public function get($key) |
|
23 | |||
24 | 3 | public function getAll() |
|
34 | |||
35 | 3 | public function getKeys() |
|
39 | |||
40 | 9 | public function set($key, $value) |
|
44 | |||
45 | public function delete($key) |
||
49 | |||
50 | public function flush() |
||
54 | } |
||
55 |