Doctrine\MongoDB\Query\Builder::withinCenter PHP Method

withinCenter() public method

Add $within criteria with a $center shape to the query.
See also: Builder::geoWithinCenter()
See also: Expr::withinCenter()
See also: http://docs.mongodb.org/manual/reference/operator/center/
Deprecation: 1.1 MongoDB 2.4 deprecated $within in favor of $geoWithin
public withinCenter ( float $x, float $y, float $radius )
$x float
$y float
$radius float
    public function withinCenter($x, $y, $radius)
    {
        $this->expr->withinCenter($x, $y, $radius);
        return $this;
    }