Total Complexity | 1 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class LocationServices |
||
9 | { |
||
10 | const ACCESS_ENABLED = 'ENABLED'; |
||
11 | const ACCESS_DISABLED = 'DISABLED'; |
||
12 | |||
13 | const STATUS_RUNNING = 'RUNNING'; |
||
14 | const STATUS_STOPPED = 'STOPPED'; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | public $access; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | public $status; |
||
25 | |||
26 | /** |
||
27 | * @param array $amazonRequest |
||
28 | * |
||
29 | * @return LocationServices |
||
30 | */ |
||
31 | public static function fromAmazonRequest(array $amazonRequest): self |
||
41 |