Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | interface ForecastItemInterface |
||
20 | { |
||
21 | /** |
||
22 | * @api |
||
23 | * |
||
24 | * @return string |
||
25 | */ |
||
26 | public function getSummary(); |
||
27 | |||
28 | /** |
||
29 | * @api |
||
30 | * |
||
31 | * @return Temperature |
||
32 | */ |
||
33 | public function getTemperature(): Temperature; |
||
34 | |||
35 | /** |
||
36 | * @api |
||
37 | * |
||
38 | * @return Wind |
||
39 | */ |
||
40 | public function getWind(): Wind; |
||
41 | |||
42 | /** |
||
43 | * @return Humidity |
||
44 | */ |
||
45 | public function getHumidity(); |
||
46 | |||
47 | /** |
||
48 | * @return Precipitation |
||
49 | */ |
||
50 | public function getPrecipitation(); |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getIcon(): string; |
||
56 | |||
57 | /** |
||
58 | * @api |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | public function __toString(); |
||
63 | |||
64 | /** |
||
65 | * @param array $data |
||
66 | * @return ForecastItemInterface |
||
67 | */ |
||
68 | public function setData(array $data): self; |
||
69 | } |
||
70 |