Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class IntervalsRequest extends AbstractRequest implements RequestInterface |
||
17 | { |
||
18 | public const RESPONSE_CLASS = IntervalsResponse::class; |
||
19 | private ?int $zone; |
||
20 | private ?int $service; |
||
21 | |||
22 | 1 | public function __construct(?int $zone = null, ?int $service = null) |
|
23 | { |
||
24 | 1 | $this->service = $service; |
|
25 | 1 | $this->zone = $zone; |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return int|null |
||
30 | */ |
||
31 | 1 | public function getZone(): ?int |
|
32 | { |
||
33 | 1 | return $this->zone; |
|
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return int|null |
||
38 | */ |
||
39 | 1 | public function getService(): ?int |
|
42 | } |
||
43 | } |
||
44 |