Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | final class DeleteRequest implements Request |
||
20 | { |
||
21 | private $spaceId; |
||
22 | private $indexId; |
||
23 | private $key; |
||
24 | |||
25 | public function __construct(int $spaceId, int $indexId, array $key) |
||
26 | { |
||
27 | $this->spaceId = $spaceId; |
||
28 | $this->indexId = $indexId; |
||
29 | $this->key = $key; |
||
30 | } |
||
31 | |||
32 | public function getType() : int |
||
35 | } |
||
36 | |||
37 | public function getBody() : array |
||
46 |