* @license https://dlambert.mit-license.org MIT * * @Entity */ class GeographyEntity { /** * @var GeographyInterface * * @Column(type="geography", nullable=true) */ protected $geography; /** * @var int * * @Id * @GeneratedValue(strategy="AUTO") * @Column(type="integer") */ protected $id; /** * Get geography. * * @return GeographyInterface */ public function getGeography() { return $this->geography; } /** * Get id. * * @return int */ public function getId() { return $this->id; } /** * Set geography. * * @param GeographyInterface $geography Geography to set * * @return self */ public function setGeography(GeographyInterface $geography) { $this->geography = $geography; return $this; } }