Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
19 | final class Select implements Request |
||
20 | { |
||
21 | private $spaceId; |
||
22 | private $indexId; |
||
23 | private $key; |
||
24 | private $offset; |
||
25 | private $limit; |
||
26 | private $iteratorType; |
||
27 | |||
28 | 112 | public function __construct(int $spaceId, int $indexId, array $key, int $offset, int $limit, int $iteratorType) |
|
29 | { |
||
30 | 112 | $this->spaceId = $spaceId; |
|
31 | 112 | $this->indexId = $indexId; |
|
32 | 112 | $this->key = $key; |
|
33 | 112 | $this->offset = $offset; |
|
34 | 112 | $this->limit = $limit; |
|
35 | 112 | $this->iteratorType = $iteratorType; |
|
36 | 112 | } |
|
37 | |||
38 | 112 | public function getType() : int |
|
41 | } |
||
42 | |||
43 | 112 | public function getBody() : array |
|
55 |