@foreach(\App\Models\Category::find($product_category)->children()->get() as $product) {!! html_entity_decode(object_list($product, $menuItem->category_id)) !!} @endforeach @foreach(\App\Models\Category::find($page_category)->children()->get() as $page) {!! html_entity_decode(object_list($page, $menuItem->category_id)) !!} @endforeach @foreach(\App\Models\Category::find($gallery_category)->children()->get() as $gallery) {!! html_entity_decode(object_list($gallery, $menuItem->category_id)) !!} @endforeach @foreach(\App\Models\Category::find($blog_category)->children()->get() as $blog) {!! html_entity_decode(object_list($blog, $menuItem->category_id)) !!} @endforeach