for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHPCoord.
*
* @author Doug Wright
*/
declare(strict_types=1);
namespace PHPCoord\Coordinate\ReferenceSystem;
use PHPCoord\Coordinate\System\CoordinateSystem;
use PHPCoord\Datum\Datum;
class Geocentric extends CoordinateReferenceSystem
{
public function __construct(
int $epsgCode,
CoordinateSystem $coordinateSystem,
Datum $datum
) {
$this->epsgCode = $epsgCode;
$this->coordinateSystem = $coordinateSystem;
$this->datum = $datum;
}
public function getEpsgCode(): int
return $this->epsgCode;
public function getCoordinateSystem(): CoordinateSystem
return $this->coordinateSystem;
public function getDatum(): Datum
return $this->datum;