| 1 | <?php declare(strict_types=1); |
||
| 8 | class ScrollReader implements Reader |
||
|
|
|||
| 9 | { |
||
| 10 | private $client; |
||
| 11 | |||
| 12 | private $query; |
||
| 13 | |||
| 14 | private $scrollTTL = '1m'; |
||
| 15 | |||
| 16 | public function __construct($client, array $query) |
||
| 21 | |||
| 22 | public function setScrollTTL(string $ttl): void |
||
| 26 | |||
| 27 | public function getItems(): \Generator |
||
| 47 | } |