src/Search.php
public function exludePlaceIds(): self
    {
        $args = \func_get_args();

        if (\count($args) > 0) {
            $this->query['exclude_place_ids'] = \implode(', ', $args);

            return $this;
        }

        throw new InvalidParameterException('No place id in parameter');
    }
public function exludePlaceIds(): self
    {
        $args = \func_get_args();

        if (\count($args) > 0) {
            $this->query['exclude_place_ids'] = \implode(', ', $args);

            return $this;
        }

        throw new InvalidParameterException('No place id in parameter');
    }
public function exludePlaceIds ( ) : self { $ args = \ func_get_args ( ) ; if ( \ count ( $ args ) > 0 ) { $ this -> query [ 'exclude_place_ids' ] = \ implode ( ', ' , $ args ) ; return $ this ; } throw new InvalidParameterException ( 'No place id in parameter' ) ; }
If you do not want certain OpenStreetMap objects to appear in the search results.

@throws \maxh\Nominatim\Exceptions\InvalidParameterException if no place id

@return \maxh\Nominatim\Search
If you do not want certain OpenStreetMap objects to appear in the search results .