@php $notifications = app(\App\Services\HeaderNotificationService::class)->for(auth()->user()); $count = count($notifications); $toneClasses = [ 'warning' => 'text-bg-warning', 'danger' => 'text-bg-danger', 'info' => 'text-bg-info', ]; @endphp