public function getMappedDatabaseTypes(AbstractSpatialType $type)
    {
        $sqlType = strtolower($type->getSQLType());

        if ($type instanceof GeographyType && $sqlType !== 'geography') {
            $sqlType = sprintf('geography(%s)', $sqlType);
        }

        return array($sqlType);
    }
public function getMappedDatabaseTypes(AbstractSpatialType $type)
    {
        $sqlType = strtolower($type->getSQLType());

        if ($type instanceof GeographyType && $sqlType !== 'geography') {
            $sqlType = sprintf('geography(%s)', $sqlType);
        }

        return array($sqlType);
    }
public function getMappedDatabaseTypes ( AbstractSpatialType $ type ) { $ sqlType = strtolower ( $ type -> getSQLType ( ) ) ; if ( $ type instanceof GeographyType && $ sqlType !== 'geography' ) { $ sqlType = sprintf ( 'geography(%s)' , $ sqlType ) ; } return array ( $ sqlType ) ; }
Get an array of database types that map to this Doctrine type.

@param AbstractSpatialType $type

@return string[]
Get an array of database types that map to this Doctrine type .