->with([
[COLOR=#515365][FONT=consolas] [/FONT][/COLOR]
[COLOR=#515365][FONT=consolas] 'termAdd' => function ($query) use ($brand) { [/FONT][/COLOR]
[COLOR=#515365][FONT=consolas]$query->where('slug', $brand);[/FONT][/COLOR]
[COLOR=#515365][FONT=consolas] },[/FONT][/COLOR]
[COLOR=#515365][FONT=consolas] [/FONT][/COLOR]
[COLOR=#515365][FONT=consolas]'category' => function ($query) use ($options) { [/FONT][/COLOR]
[COLOR=#515365][FONT=consolas]$query->whereIn('slug', $options); [/FONT][/COLOR]
[COLOR=#515365][FONT=consolas]},[/FONT][/COLOR]
[COLOR=#515365][FONT=consolas] [/FONT][/COLOR]
[COLOR=#515365][FONT=consolas] ])[/FONT][/COLOR] Çözümü buldum gibi termAdd 'e ait $brand ve category 'e ait $options değerlerinin her ikisini sağlayacak verileri döndürsün istiyorum.