1 | <?php |
||
8 | class Redis implements CacheInterface |
||
9 | { |
||
10 | public function setNamespace(string $namespace) : bool |
||
13 | |||
14 | public function get(string $key) : array |
||
17 | |||
18 | public function set(string $key, $value, int $ttl = null) : bool |
||
21 | |||
22 | public function delete(string $key) : bool |
||
25 | |||
26 | public function exists(string $key, bool $isValid = false) : bool |
||
29 | |||
30 | public function renew(string $key, int $ttl) : bool |
||
33 | |||
34 | public function clear(string $namespace = null) : bool |
||
37 | } |
||
38 |