Doctrine\MongoDB\Aggregation\Stage\Match::range PHP Method

range() public method

This method is shorthand for specifying $gte criteria on the lower bound and $lt criteria on the upper bound. The upper bound is not inclusive.
See also: Expr::range()
public range ( mixed $start, mixed $end )
$start mixed
$end mixed
    public function range($start, $end)
    {
        $this->query->range($start, $end);
        return $this;
    }