@php $dash .='- - '; @endphp @if (count($child_category->childs)) @foreach ($child_category->childs as $childCategory) @include('backend.articles.subcategory', ['child_category' => $childCategory]) @endforeach @endif