Doctrine\MongoDB\Aggregation\Stage\Match::geoWithin PHP Method

geoWithin() public method

The geometry parameter GeoJSON object or an array corresponding to the geometry's JSON representation.
See also: Expr::geoWithin()
See also: http://docs.mongodb.org/manual/reference/operator/geoWithin/
public geoWithin ( GeoJson\Geometry\Geometry $geometry )
$geometry GeoJson\Geometry\Geometry
    public function geoWithin(Geometry $geometry)
    {
        $this->query->geoWithin($geometry);
        return $this;
    }