public function filterUniverseByLocation(LocationRange $locationRange): self
    {
        $this->universeFilters['coordinate'] = Filter::create(
            'coordinate',
            $locationRange->toArray(),
            Filter::AT_LEAST_ONE,
            Filter::TYPE_GEO
        );

        return $this;
    }
public function filterUniverseByLocation(LocationRange $locationRange): self
    {
        $this->universeFilters['coordinate'] = Filter::create(
            'coordinate',
            $locationRange->toArray(),
            Filter::AT_LEAST_ONE,
            Filter::TYPE_GEO
        );

        return $this;
    }
public function filterUniverseByLocation ( LocationRange $ locationRange ) : self { $ this -> universeFilters [ 'coordinate' ] = Filter :: create ( 'coordinate' , $ locationRange -> toArray ( ) , Filter :: AT_LEAST_ONE , Filter :: TYPE_GEO ) ; return $ this ; }
Filter universe by location.

@param LocationRange $locationRange

@return Query
Filter universe by location .