Skip to content

Commit 1091b8c

Browse files
author
Mario Blazek
committed
Updated doc
1 parent 7d6e623 commit 1091b8c

File tree

1 file changed

+57
-19
lines changed

1 file changed

+57
-19
lines changed

Resources/doc/DOC.md

Lines changed: 57 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ For more details please check [here](http://openweathermap.org/current).
1010

1111
* By calling Weather service
1212
```php
13-
/** @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface */
13+
/**
14+
* @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface
15+
*/
1416
$data = $weather->fetchWeatherDataByCityName(
1517
'London'
1618
);
@@ -38,7 +40,9 @@ $data = $weather->fetchWeatherDataByCityName(
3840

3941
* By calling Weather service
4042
```php
41-
/** @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface */
43+
/**
44+
* @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface
45+
*/
4246
$data = $weather->fetchWeatherDataByCityId(
4347
2172797
4448
);
@@ -66,7 +70,9 @@ $data = $weather->fetchWeatherDataByCityId(
6670

6771
* By calling Weather service
6872
```php
69-
/** @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface */
73+
/**
74+
* @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface
75+
*/
7076
$data = $weather->fetchWeatherDataByGeographicCoordinates(
7177
35, 139
7278
);
@@ -95,7 +101,9 @@ $data = $weather->fetchWeatherDataByGeographicCoordinates(
95101

96102
* By calling Weather service
97103
```php
98-
/** @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface */
104+
/**
105+
* @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface
106+
*/
99107
$data = $weather->fetchWeatherDataByZipCode(
100108
94040
101109
);
@@ -123,7 +131,9 @@ $data = $weather->fetchWeatherDataByZipCode(
123131

124132
* By calling Weather service
125133
```php
126-
/** @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface */
134+
/**
135+
* @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface
136+
*/
127137
$data = $weather->fetchWeatherDataForCitiesWithinRectangleZone(
128138
array(12, 32, 15, 37, 10), 'yes'
129139
);
@@ -156,7 +166,9 @@ $data = $weather->fetchWeatherDataForCitiesWithinRectangleZone(
156166

157167
* By calling Weather service
158168
```php
159-
/** @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface */
169+
/**
170+
* @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface
171+
*/
160172
$data = $weather->fetchWeatherDataForCitiesInCycle(
161173
55.5, 37.5, 'yes', 10
162174
);
@@ -187,7 +199,9 @@ $data = $weather->fetchWeatherDataForCitiesInCycle(
187199

188200
* By calling Weather service
189201
```php
190-
/** @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface */
202+
/**
203+
* @var $weather \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherInterface
204+
*/
191205
$data = $weather->fetchWeatherDataForSeveralCityIds(
192206
array(524901, 703448, 2643743)
193207
);
@@ -209,7 +223,9 @@ For more details please check [here](http://openweathermap.org/forecast5).
209223

210224
* By calling HourForecast service
211225
```php
212-
/** @var $hourForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\HourForecastInterface */
226+
/**
227+
* @var $hourForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\HourForecastInterface
228+
*/
213229
$data = $hourForecast->fetchForecastByCityName(
214230
'London'
215231
);
@@ -237,7 +253,9 @@ $data = $hourForecast->fetchForecastByCityName(
237253

238254
* By calling HourForecast service
239255
```php
240-
/** @var $hourForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\HourForecastInterface */
256+
/**
257+
* @var $hourForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\HourForecastInterface
258+
*/
241259
$data = $hourForecast->fetchForecastByCityId(
242260
524901
243261
);
@@ -265,7 +283,9 @@ $data = $hourForecast->fetchForecastByCityId(
265283

266284
* By calling HourForecast service
267285
```php
268-
/** @var $hourForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\HourForecastInterface */
286+
/**
287+
* @var $hourForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\HourForecastInterface
288+
*/
269289
$data = $hourForecast->fetchForecastByCityGeographicCoordinates(
270290
35, 139
271291
);
@@ -299,7 +319,9 @@ For more details please check [here](http://openweathermap.org/forecast16).
299319

300320
* By calling DailyForecast service
301321
```php
302-
/** @var $dailyForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\DailyForecastInterface */
322+
/**
323+
* @var $dailyForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\DailyForecastInterface
324+
*/
303325
$data = $dailyForecast->fetchForecastByCityName(
304326
'London'
305327
);
@@ -327,7 +349,9 @@ $data = $dailyForecast->fetchForecastByCityName(
327349

328350
* By calling DailyForecast service
329351
```php
330-
/** @var $dailyForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\DailyForecastInterface */
352+
/**
353+
* @var $dailyForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\DailyForecastInterface
354+
*/
331355
$data = $dailyForecast->fetchForecastByCityId(
332356
524901
333357
);
@@ -355,7 +379,9 @@ $data = $dailyForecast->fetchForecastByCityId(
355379

356380
* By calling DailyForecast service
357381
```php
358-
/** @var $dailyForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\DailyForecastInterface */
382+
/**
383+
* @var $dailyForecast \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\DailyForecastInterface
384+
*/
359385
$data = $dailyForecast->fetchForecastByCityGeographicCoordinates(
360386
55, 37
361387
);
@@ -389,7 +415,9 @@ For more details please check [here](http://openweathermap.org/api/uvi).
389415

390416
* By calling UltravioletIndex service
391417
```php
392-
/** @var $ultravioletIndex \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\UltravioletIndexInterface */
418+
/**
419+
* @var $ultravioletIndex \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\UltravioletIndexInterface
420+
*/
393421
$data = $ultravioletIndex->fetchUltraviletIndex(
394422
55, 37
395423
);
@@ -423,7 +451,9 @@ For more details please check [here](http://openweathermap.org/api_station).
423451

424452
* By calling WeatherStations service
425453
```php
426-
/** @var $weatherStations \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherStationsInterface */
454+
/**
455+
* @var $weatherStations \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherStationsInterface
456+
*/
427457
$data = $weatherStations->fetchFromOnStationById(29584);
428458

429459
```
@@ -447,7 +477,9 @@ $data = $weatherStations->fetchFromOnStationById(29584);
447477

448478
* By calling WeatherStations service
449479
```php
450-
/** @var $weatherStations \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherStationsInterface */
480+
/**
481+
* @var $weatherStations \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherStationsInterface
482+
*/
451483
$data = $weatherStations->fetchFromSeveralByRectangleZone(
452484
array(8.87, 49.07, 65.21, 61.26, 6), 'yes', 10
453485
);
@@ -481,7 +513,9 @@ $data = $weatherStations->fetchFromSeveralByRectangleZone(
481513

482514
* By calling WeatherStations service
483515
```php
484-
/** @var $weatherStations \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherStationsInterface */
516+
/**
517+
* @var $weatherStations \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\WeatherStationsInterface
518+
*/
485519
$data = $weatherStations->fetchFromSeveralByGeoPoint(
486520
55, 37
487521
);
@@ -515,7 +549,9 @@ For details about CO check [here](http://openweathermap.org/api/pollution/co) an
515549

516550
* By calling AirPollution service
517551
```php
518-
/** @var $airPollution \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\AirPollutionInterface */
552+
/**
553+
* @var $airPollution \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\AirPollutionInterface
554+
*/
519555
$data = $airPollution->fetchOzoneData(35, 139);
520556

521557
```
@@ -539,7 +575,9 @@ $data = $airPollution->fetchOzoneData(35, 139);
539575

540576
* By calling AirPollution service
541577
```php
542-
/** @var $airPollution \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\AirPollutionInterface */
578+
/**
579+
* @var $airPollution \Netgen\Bundle\OpenWeatherMapBundle\API\OpenWeatherMap\Weather\AirPollutionInterface
580+
*/
543581
$data = $airPollution->fetchCarbonMonoxideData(35, 139);
544582

545583
```

0 commit comments

Comments
 (0)