* @license https://dlambert.mit-license.org MIT * * @Entity */ class GeoPointSridEntity { /** * @var int * * @Id * @GeneratedValue(strategy="AUTO") * @Column(type="integer") */ protected $id; /** * @var Point * * @Column(type="geopoint", nullable=true, options={"srid": "4326"}) */ protected $point; /** * Get id. * * @return int */ public function getId() { return $this->id; } /** * Get geography. * * @return Point */ public function getPoint() { return $this->point; } /** * Set geography. * * @param Point $point point to set * * @return self */ public function setPoint(Point $point) { $this->point = $point; return $this; } }