withinCenterSphere() публичный Метод

Add $within criteria with a $centerSphere shape to the expression.
См. также: Expr::geoWithinCenterSphere()
См. также: http://docs.mongodb.org/manual/reference/operator/centerSphere/
Устаревший: 1.1 MongoDB 2.4 deprecated $within in favor of $geoWithin
public withinCenterSphere ( float $x, float $y, float $radius )
$x float
$y float
$radius float
Пример #1
0
 /**
  * Add $within criteria with a $centerSphere shape to the query.
  *
  * @deprecated 1.1 MongoDB 2.4 deprecated $within in favor of $geoWithin
  * @see Builder::geoWithinCenterSphere()
  * @see Expr::withinCenterSphere()
  * @see http://docs.mongodb.org/manual/reference/operator/centerSphere/
  * @param float $x
  * @param float $y
  * @param float $radius
  * @return self
  */
 public function withinCenterSphere($x, $y, $radius)
 {
     $this->expr->withinCenterSphere($x, $y, $radius);
     return $this;
 }