public static function argAuthor(Query $query, $value, &$q) { $query->where('post_author.id', $value); }