@php isset($yieldMainContent)?:$yieldMainContent=null; @endphp @yield('mainContent', $yieldMainContent)