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