| 1 | <?php declare(strict_types=1); |
||
| 8 | class BulkWriter implements FlushableWriter |
||
| 9 | { |
||
| 10 | private $client; |
||
| 11 | |||
| 12 | private $request; |
||
| 13 | |||
| 14 | private $items; |
||
| 15 | |||
| 16 | public function __construct(Client $client, array $request = []) |
||
| 21 | |||
| 22 | public function prepare() |
||
| 26 | |||
| 27 | public function writeItem(array $item) |
||
| 31 | |||
| 32 | public function finish() |
||
| 38 | |||
| 39 | public function flush() |
||
| 46 | } |