public static function argMonthnum(Query $query, $value, &$q) { $query->where('post_date_object.month', $value); }