Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class PriceSummary extends Resource |
||
8 | { |
||
9 | 1 | public function price(): float |
|
10 | { |
||
11 | 1 | return floatval($this->extraArgs['Price']); |
|
12 | } |
||
13 | |||
14 | 1 | public function zoneId(): int |
|
15 | { |
||
16 | 1 | return intval($this->extraArgs['ZoneId']); |
|
17 | } |
||
18 | |||
19 | 1 | public function enabled(): bool |
|
20 | { |
||
21 | 1 | return (bool)$this->extraArgs['Enabled']; |
|
22 | } |
||
23 | |||
24 | 1 | public function performanceId(): int |
|
27 | } |
||
28 | } |
||
29 |