1 | <?php |
||
5 | class ShuffleIterator extends ReplaceableIterator implements \Countable |
||
6 | { |
||
7 | private $min = INF; |
||
8 | private $max = -INF; |
||
9 | private $innerIterator; |
||
10 | 1 | ||
11 | public function __construct(\Traversable $iterator) |
||
16 | |||
17 | public function rewind() |
||
34 | |||
35 | /** |
||
36 | * @param \Traversable $iterator |
||
37 | */ |
||
38 | protected function generateElement($key, $value, $iterator) |
||
42 | |||
43 | public function count() |
||
47 | |||
48 | public function first() |
||
53 | |||
54 | 1 | public function last() |
|
59 | 1 | ||
60 | public function min() |
||
64 | |||
65 | 1 | public function max() |
|
69 | } |
||
70 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.