lib/Elastica/QueryBuilder/DSL/Query.php
public function geo_distance(string $key, $location, string $distance): GeoDistance
    {
        return new GeoDistance($key, $location, $distance);
    }
public function geo_distance(string $key, $location, string $distance): GeoDistance
    {
        return new GeoDistance($key, $location, $distance);
    }
public function geo_distance ( string $ key , $ location , string $ distance ) : GeoDistance { return new GeoDistance ( $ key , $ location , $ distance ) ; }
geo distance query.

@see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-query.html

@param string       $key
@param array|string $location
@param string       $distance

@return GeoDistance
geo distance query .