/** * Updates the value of the field to a specified value if the specified value is greater than the current value of the field. * * @see Expr::max() * @see http://docs.mongodb.org/manual/reference/operator/update/max/ * @param mixed $value * @return self */ public function max($value) { $this->expr->max($value); return $this; }