1 | <?php |
||
19 | class InMemoryBatchingFetcher implements BatchingFetcher { |
||
20 | |||
21 | private $values; |
||
22 | |||
23 | 11 | public function __construct( array $values ) { |
|
26 | |||
27 | /** |
||
28 | * @see BatchingFetcher::fetchNext |
||
29 | * |
||
30 | * @param int $maxFetchCount |
||
31 | * |
||
32 | * @return mixed[] |
||
33 | */ |
||
34 | 11 | public function fetchNext( int $maxFetchCount ): array { |
|
44 | |||
45 | /** |
||
46 | * @see BatchingFetcher::rewind |
||
47 | */ |
||
48 | 3 | public function rewind() { |
|
51 | |||
52 | } |