1 | <?php |
||
19 | class IteratorProxyMessageIterator implements MessageIteratorInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var \Iterator |
||
23 | */ |
||
24 | protected $iterator; |
||
25 | |||
26 | public function __construct(\Iterator $iterator) |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function current() |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function next(): void |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public function key() |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function valid() |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function rewind(): void |
||
70 | } |
||
71 |