/** * Add $within criteria with a $box shape to the query. * * @deprecated 1.1 Riak 2.4 deprecated $within in favor of $geoWithin * @see Builder::geoWithinBox() * @see Expr::withinBox() * @see http://docs.mongodb.org/manual/reference/operator/box/ * @param float $x1 * @param float $y1 * @param float $x2 * @param float $y2 * @return self */ public function withinBox($x1, $y1, $x2, $y2) { $this->expr->withinBox($x1, $y1, $x2, $y2); return $this; }