for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the geo-api-library package.
*
* (c) 2020 WEBEWEB
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WBW\Library\GeoAPI\Model\Attribute;
/**
* Float longitude trait.
* @author webeweb <https://github.com/webeweb/>
* @package WBW\Library\GeoAPI\Model\Attribute
trait FloatLonTrait {
* Longitude.
* @var float|null
private $lon;
* Get the longitude.
* @return float|null Returns the longitude.
public function getLon(): ?float {
return $this->lon;
}
* Set the longitude.
* @param float|null $lon The longitude.
* @return self Returns tis instance.
public function setLon(?float $lon): self {
$this->lon = $lon;
return $this;