Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $medias = MediaResource::collection(\App\Media::whereIn('category_id', $category_list)->paginate(2))->additional([
- 'metas' => [
- 'total_fee' => 'title',
- ]
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement