| 1 | <?php |
||
| 11 | class Update extends AbstractOperation |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var QueryInterface |
||
| 15 | */ |
||
| 16 | private $query; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | private $documents; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param RethinkInterface $rethink |
||
| 25 | * @param MessageInterface $message |
||
| 26 | * @param QueryInterface $query |
||
| 27 | * @param array $documents |
||
| 28 | */ |
||
| 29 | 1 | public function __construct(RethinkInterface $rethink, MessageInterface $message, QueryInterface $query, array $documents) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritdoc |
||
| 41 | */ |
||
| 42 | 1 | public function toArray(): array |
|
| 60 | } |
||
| 61 |