| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class GetAll extends AbstractQuery |
||
| 15 | { |
||
| 16 | use AggregationTrait; |
||
| 17 | use OperationTrait; |
||
| 18 | use TransformationTrait; |
||
| 19 | use ManipulationTrait; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | private $keys; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var QueryInterface |
||
| 28 | */ |
||
| 29 | private $query; |
||
| 30 | |||
| 31 | public function __construct( |
||
| 32 | RethinkInterface $rethink, |
||
| 33 | QueryInterface $query, |
||
| 34 | array $keys |
||
| 35 | ) { |
||
| 36 | parent::__construct($rethink); |
||
| 37 | |||
| 38 | $this->query = $query; |
||
| 39 | $this->keys = $keys; |
||
| 40 | $this->rethink = $rethink; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function toArray(): array |
||
| 50 | ), |
||
| 51 | ]; |
||
| 54 |