| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class SelectRequest implements Request |
||
| 20 | { |
||
| 21 | private $spaceId; |
||
| 22 | private $indexId; |
||
| 23 | private $key; |
||
| 24 | private $offset; |
||
| 25 | private $limit; |
||
| 26 | private $iteratorType; |
||
| 27 | |||
| 28 | public function __construct(int $spaceId, int $indexId, array $key, int $offset, int $limit, int $iteratorType) |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getType() : int |
||
| 39 | { |
||
| 40 | return RequestTypes::SELECT; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getBody() : array |
||
| 52 | ]; |
||
| 53 | } |
||
| 55 |