Doctrine\MongoDB\Aggregation\Stage\Project::max PHP Метод

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

Returns the highest value that results from applying an expression to each document in a group of documents that share the same group by key.
См. также: http://docs.mongodb.org/manual/reference/operator/aggregation/max/
См. также: Expr::max
С версии: 1.3
public max ( mixed | Expr $expression1 ) : Operator
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
Результат Operator
    public function max($expression1)
    {
        $this->expr->max(func_num_args() === 1 ? $expression1 : func_get_args());
        return $this;
    }