for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Germania\GeoData;
abstract class GeoDataAbstract implements GeoDataInterface
{
/**
* @var float
*/
public $latitude;
public $longitude;
* @var string|null
public $source;
public $status;
* @inheritDoc
public function getLatitude() : ?float
return $this->latitude;
}
public function getLongitude() : ?float
return $this->longitude;
public function getLatLon() : array
return array(
$this->getLatitude(),
$this->getLongitude()
);
public function getSource() : ?string
return $this->source;
public function getStatus() : ?string
return $this->status;