/** * Returns the day of the week for a date as a number between 1 (Sunday) and * 7 (Saturday). * * The argument can be any expression as long as it resolves to a date. * * @see http://docs.mongodb.org/manual/reference/operator/aggregation/dayOfWeek/ * @see Expr::dayOfWeek * @param mixed|Expr $expression * @return self */ public function dayOfWeek($expression) { $this->expr->dayOfWeek($expression); return $this; }