Redis   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 30
c 0
b 0
f 0
wmc 7
lcom 0
cbo 0
rs 10

7 Methods

Rating   Name   Duplication   Size   Complexity  
A setNamespace() 0 3 1
A get() 0 3 1
A set() 0 3 1
A delete() 0 3 1
A exists() 0 3 1
A renew() 0 3 1
A clear() 0 3 1
1
<?php
2
3
namespace Ezcache\Cache;
4
5
/**
6
 * @codeCoverageIgnore
7
 */
8
class Redis implements CacheInterface
9
{
10
    public function setNamespace(string $namespace) : bool
11
    {
12
    }
13
14
    public function get(string $key) : array
15
    {
16
    }
17
18
    public function set(string $key, $value, int $ttl = null) : bool
19
    {
20
    }
21
22
    public function delete(string $key) : bool
23
    {
24
    }
25
26
    public function exists(string $key, bool $isValid = false) : bool
27
    {
28
    }
29
30
    public function renew(string $key, int $ttl) : bool
31
    {
32
    }
33
34
    public function clear(string $namespace = null) : bool
35
    {
36
    }
37
}
38