/** * Add $geoWithin criteria with a $centerSphere shape to the query. * * Note: the $centerSphere operator supports both 2d and 2dsphere indexes. * * @see Expr::geoWithinCenterSphere() * @see http://docs.mongodb.org/manual/reference/operator/centerSphere/ * @param float $x * @param float $y * @param float $radius * @return self */ public function geoWithinCenterSphere($x, $y, $radius) { $this->expr->geoWithinCenterSphere($x, $y, $radius); return $this; }