Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
19 | final class SelectRequest implements Request |
||
20 | { |
||
21 | /** @var non-empty-array<int, int|array> */ |
||
|
|||
22 | private $body; |
||
23 | |||
24 | 279 | public function __construct(int $spaceId, int $indexId, array $key, int $offset, int $limit, int $iteratorType) |
|
33 | 279 | ]; |
|
34 | } |
||
35 | |||
36 | 279 | public function getType() : int |
|
37 | { |
||
38 | 279 | return RequestTypes::SELECT; |
|
39 | } |
||
40 | |||
41 | 275 | public function getBody() : array |
|
44 | } |
||
45 | } |
||
46 |