/** * Returns the year portion of a date. * * The argument can be any expression as long as it resolves to a date. * * @see http://docs.mongodb.org/manual/reference/operator/aggregation/year/ * @see Expr::year * @param mixed|Expr $expression * @return self */ public function year($expression) { $this->expr->year($expression); return $this; }