@php // setup codes $user = auth()->user(); $unreadNotifications = $user->unreadNotifications?? []; @endphp