@@ -33,6 +33,9 @@ |
||
| 33 | 33 | return $this->random_str(64, 'abcdef0123456789'); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param integer $length |
|
| 38 | + */ |
|
| 36 | 39 | private function random_str($length, $keyspace = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ') |
| 37 | 40 | { |
| 38 | 41 | $str = ''; |
@@ -13,6 +13,9 @@ discard block |
||
| 13 | 13 | return $this->cityName; |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $cityName |
|
| 18 | + */ |
|
| 16 | 19 | public function setCityName($cityName) |
| 17 | 20 | { |
| 18 | 21 | $this->cityName = $cityName; |
@@ -23,6 +26,9 @@ discard block |
||
| 23 | 26 | return $this->lat; |
| 24 | 27 | } |
| 25 | 28 | |
| 29 | + /** |
|
| 30 | + * @param double $lat |
|
| 31 | + */ |
|
| 26 | 32 | public function setLat($lat) |
| 27 | 33 | { |
| 28 | 34 | $this->lat = $lat; |
@@ -33,6 +39,9 @@ discard block |
||
| 33 | 39 | return $this->lng; |
| 34 | 40 | } |
| 35 | 41 | |
| 42 | + /** |
|
| 43 | + * @param double $lng |
|
| 44 | + */ |
|
| 36 | 45 | public function setLng($lng) |
| 37 | 46 | { |
| 38 | 47 | $this->lng = $lng; |