public function geoNear($x, $y = null) : Stage\GeoNear
    {
        return $this->builder->geoNear($x, $y);
    }
public function geoNear($x, $y = null) : Stage\GeoNear
    {
        return $this->builder->geoNear($x, $y);
    }
public function geoNear ( $ x , $ y = null ) : Stage \ GeoNear { return $ this -> builder -> geoNear ( $ x , $ y ) ; }
Outputs documents in order of nearest to farthest from a specified point.
You can only use this as the first stage of a pipeline.

@see http://docs.mongodb.org/manual/reference/operator/aggregation/geoNear/

@param float|array|Point $x
@param float             $y
Outputs documents in order of nearest to farthest from a specified point . You can only use this as the first stage of a pipeline .