1 | <?php |
||
14 | class TimezoneClient extends NStackClient |
||
15 | { |
||
16 | /** @var string */ |
||
17 | protected $path = 'geographic/time_zones'; |
||
18 | |||
19 | /** |
||
20 | * index |
||
21 | * |
||
22 | * @return array |
||
23 | * @throws FailedToParseException |
||
24 | */ |
||
25 | 1 | public function index(): array |
|
38 | |||
39 | /** |
||
40 | * show |
||
41 | * |
||
42 | * @param $id |
||
43 | * @return Timezone |
||
44 | * @throws FailedToParseException |
||
45 | */ |
||
46 | 1 | public function show($id): Timezone |
|
53 | |||
54 | /** |
||
55 | * show |
||
56 | * |
||
57 | * @param float $lat |
||
58 | * @param float $lng |
||
59 | * @return Timezone |
||
60 | * @throws FailedToParseException |
||
61 | */ |
||
62 | 1 | public function showByLatLng(float $lat, float $lng): Timezone |
|
71 | |||
72 | } |