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