Completed
Push — master ( 00fae0...ee941a )
by Dan
23:33 queued 15:03
created

AbstractStorageMock   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 5
lcom 0
cbo 1
dl 0
loc 27
rs 10
c 1
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A set() 0 4 1
A has() 0 4 1
A get() 0 4 1
A delete() 0 4 1
A clear() 0 4 1
1
<?php
2
3
namespace Tests\Cache\Mock;
4
5
use Ds\Cache\Storage\AbstractStorage;
6
7
/**
8
 * Class AbstractStorageMock
9
 *
10
 * Mock class to test Abstract Methods.
11
 *
12
 * @package Tests\Cache\Mock
13
 */
14
class AbstractStorageMock extends AbstractStorage{
15
16
    public function set($key, $value, $ttl = null)
17
    {
18
        // TODO: Implement set() method.
19
    }
20
21
    public function has($key)
22
    {
23
        // TODO: Implement has() method.
24
    }
25
26
    public function get($key)
27
    {
28
        // TODO: Implement get() method.
29
    }
30
31
    public function delete($key)
32
    {
33
        // TODO: Implement delete() method.
34
    }
35
36
    public function clear()
37
    {
38
        // TODO: Implement clear() method.
39
    }
40
}