| 1 | <?php |
||
| 20 | trait FloatLonTrait { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Longitude. |
||
| 24 | * |
||
| 25 | * @var float|null |
||
| 26 | */ |
||
| 27 | private $lon; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get the longitude. |
||
| 31 | * |
||
| 32 | * @return float|null Returns the longitude. |
||
| 33 | */ |
||
| 34 | 40 | public function getLon(): ?float { |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Set the longitude. |
||
| 40 | * |
||
| 41 | * @param float|null $lon The longitude. |
||
| 42 | * @return self Returns tis instance. |
||
| 43 | */ |
||
| 44 | 25 | public function setLon(?float $lon): self { |
|
| 48 | } |