1 | <?php |
||
5 | class ShuffleIterator extends IteratorIterator implements \Countable |
||
6 | { |
||
7 | protected $min = INF; |
||
8 | protected $max = -INF; |
||
9 | |||
10 | public function __construct(\Traversable $iterator) |
||
14 | |||
15 | public function getShuffledIterator($iterator) |
||
32 | |||
33 | protected function generateElement($key, $value, $iterator) |
||
37 | |||
38 | public function key() |
||
42 | |||
43 | public function current() |
||
47 | |||
48 | public function count() |
||
52 | |||
53 | public function first() |
||
58 | |||
59 | public function last() |
||
64 | |||
65 | public function min() |
||
69 | |||
70 | public function max() |
||
74 | } |
||
75 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.