/** * Add $geoWithin criteria with a $center shape to the query. * * Note: the $center operator only supports legacy coordinate pairs and 2d * indexes. This cannot be used with 2dsphere indexes and GeoJSON shapes. * * @see Expr::geoWithinCenter() * @see http://docs.mongodb.org/manual/reference/operator/center/ * @param float $x * @param float $y * @param float $radius * @return self */ public function geoWithinCenter($x, $y, $radius) { $this->expr->geoWithinCenter($x, $y, $radius); return $this; }