@php $notifications = $this->getDatabaseNotifications(); $unreadNotificationsCount = $this->getUnreadDatabaseNotificationsCount(); @endphp
getPollingInterval()) wire:poll.{{ $pollingInterval }} @endif class="flex items-center" > @if ($databaseNotificationsTrigger = $this->getDatabaseNotificationsTrigger()) {{ $databaseNotificationsTrigger->with(['unreadNotificationsCount' => $unreadNotificationsCount]) }} @endif