user(); } public function hasDatabaseNotifications(): bool { return $this->getUser() && config('filament.database_notifications.enabled'); } public function getPollingInterval(): ?string { return config('filament.database_notifications.polling_interval'); } public function getDatabaseNotificationsTrigger(): View { return view('filament::components.layouts.app.topbar.database-notifications-trigger'); } }