PATH:
home
/
centosnipponia
/
public_html
/
eccity
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Notifications
<?php namespace Illuminate\Notifications; trait HasDatabaseNotifications { /** * Get the entity's notifications. * * @return \Illuminate\Database\Eloquent\Relations\MorphMany */ public function notifications() { return $this->morphMany(DatabaseNotification::class, 'notifiable')->orderBy('created_at', 'desc'); } /** * Get the entity's read notifications. * * @return \Illuminate\Database\Query\Builder */ public function readNotifications() { return $this->notifications()->read(); } /** * Get the entity's unread notifications. * * @return \Illuminate\Database\Query\Builder */ public function unreadNotifications() { return $this->notifications()->unread(); } }
[+]
..
[-] NotificationServiceProvider.php
[edit]
[-] ChannelManager.php
[edit]
[-] DatabaseNotificationCollection.php
[edit]
[-] composer.json
[edit]
[-] LICENSE.md
[edit]
[+]
resources
[-] HasDatabaseNotifications.php
[edit]
[-] RoutesNotifications.php
[edit]
[-] Action.php
[edit]
[-] Notifiable.php
[edit]
[+]
Events
[-] NotificationSender.php
[edit]
[-] SendQueuedNotifications.php
[edit]
[+]
Messages
[+]
Channels
[-] Notification.php
[edit]
[+]
Console
[-] DatabaseNotification.php
[edit]
[-] AnonymousNotifiable.php
[edit]
[-] .htaccess.disabled
[edit]