Passed
Pull Request — master (#12)
by Dan
03:21
created

IteratorMock::key()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace Tests\Cache\Mock;
4
5
/**
6
 * Class IteratorMock
7
 *
8
 * Mock class to test Iterator instanceOf
9
 *
10
 * @package Tests\Cache\Mock
11
 */
12
class IteratorMock implements \Iterator{
13
    public function current()
14
    {
15
        // TODO: Implement current() method.
16
    }
17
18
    public function next()
19
    {
20
        // TODO: Implement next() method.
21
    }
22
23
    public function key()
24
    {
25
        // TODO: Implement key() method.
26
    }
27
28
    public function valid()
29
    {
30
        // TODO: Implement valid() method.
31
    }
32
33
    public function rewind()
34
    {
35
        // TODO: Implement rewind() method.
36
    }
37
38
}