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