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