Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | protected function hydrate(Position $position, Fluent $location) |
||
23 | { |
||
24 | $position->countryCode = $location->geoplugin_countryCode; |
||
25 | $position->countryName = $location->geoplugin_countryName; |
||
26 | $position->regionName = $location->geoplugin_regionName; |
||
27 | $position->regionCode = $location->geoplugin_regionCode; |
||
28 | $position->cityName = $location->geoplugin_city; |
||
29 | $position->latitude = $location->geoplugin_latitude; |
||
30 | $position->longitude = $location->geoplugin_longitude; |
||
31 | $position->areaCode = $location->geoplugin_areaCode; |
||
32 | |||
33 | return $position; |
||
34 | } |
||
50 |