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