Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
44 | 1 | public function __construct( |
|
45 | callable $current, |
||
46 | callable $next, |
||
47 | callable $key, |
||
48 | callable $valid, |
||
49 | callable $rewind |
||
50 | ) { |
||
51 | 1 | $this->current = $current; |
|
52 | 1 | $this->next = $next; |
|
53 | 1 | $this->key = $key; |
|
54 | 1 | $this->valid = $valid; |
|
55 | 1 | $this->rewind = $rewind; |
|
56 | 1 | } |
|
57 | |||
98 |