1 | <?php |
||
16 | class ResourceRecordIterator extends \ArrayIterator |
||
17 | { |
||
18 | 33 | public function __construct(string $resourceRecord) |
|
22 | |||
23 | /** |
||
24 | * Return pointer to previous position. |
||
25 | */ |
||
26 | 31 | public function prev(): void |
|
36 | |||
37 | /** |
||
38 | * Set pointer to the end of the array. |
||
39 | */ |
||
40 | 1 | public function end(): void |
|
45 | |||
46 | /** |
||
47 | * Get all the remaining values of an iterator as an array. This will move the pointer to the end of the array. |
||
48 | */ |
||
49 | 29 | public function getRemainingAsString(): string |
|
59 | |||
60 | 4 | public function __toString(): string |
|
64 | } |
||
65 |