1 | <?php |
||
25 | class HashMapIterator extends MapIterator |
||
26 | { |
||
27 | use AutoConstructTrait; |
||
28 | |||
29 | /** |
||
30 | * @var Pair<KeyType, ValueType>[] |
||
31 | * @construct required |
||
32 | */ |
||
33 | protected $data; |
||
34 | |||
35 | /** |
||
36 | * {@inheritDoc} |
||
37 | */ |
||
38 | public function getCurrent() : Pair |
||
42 | |||
43 | /** |
||
44 | * {@inheritDoc} |
||
45 | */ |
||
46 | public function rewind() |
||
50 | |||
51 | /** |
||
52 | * {@inheritDoc} |
||
53 | */ |
||
54 | public function valid() |
||
58 | |||
59 | /** |
||
60 | * {@inheritDoc} |
||
61 | */ |
||
62 | public function next() |
||
68 | } |
||
69 |