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