public static function argTagId(Query $query, $value, &$q) { $query->where('terms.post_tag.term_id', $value); }