public function getMappedDatabaseTypes(AbstractSpatialType $type) { $sqlType = strtolower($type->getSQLType()); if ($type instanceof GeographyType && $sqlType !== 'geography') { $sqlType = sprintf('geography(%s)', $sqlType); } return array($sqlType); }