public function typePoint(Fluent $column)
    {
        $type = strtoupper($column->geomtype);
        if ($this->isValid($column)) {
            if ($type == 'GEOGRAPHY' && $column->srid != 4326) {
                throw new UnsupportedGeomtypeException('Error with validation of srid! SRID of GEOGRAPHY must be 4326)');
            }
            return $type . '(POINT, ' . $column->srid . ')';
        } else {
            throw new UnsupportedGeomtypeException('Error with validation of geom type or srid!');
        }
    }
public function typePoint(Fluent $column)
    {
        $type = strtoupper($column->geomtype);
        if ($this->isValid($column)) {
            if ($type == 'GEOGRAPHY' && $column->srid != 4326) {
                throw new UnsupportedGeomtypeException('Error with validation of srid! SRID of GEOGRAPHY must be 4326)');
            }
            return $type . '(POINT, ' . $column->srid . ')';
        } else {
            throw new UnsupportedGeomtypeException('Error with validation of geom type or srid!');
        }
    }
public function typePoint ( Fluent $ column ) { $ type = strtoupper ( $ column -> geomtype ) ; if ( $ this -> isValid ( $ column ) ) { if ( $ type == 'GEOGRAPHY' && $ column -> srid != 4326 ) { throw new UnsupportedGeomtypeException ( 'Error with validation of srid! SRID of GEOGRAPHY must be 4326)' ) ; } return $ type . '(POINT, ' . $ column -> srid . ')' ; } else { throw new UnsupportedGeomtypeException ( 'Error with validation of geom type or srid!' ) ; } }
Adds a statement to add a point geometry column

@param \Illuminate\Support\Fluent $column
@return string
Adds a statement to add a point geometry column