PATH:
home
/
lab2454c
/
costbloc.com
/
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')->latest(); } /** * 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(); } }
[-] composer.json
[edit]
[-] DatabaseNotificationCollection.php
[edit]
[-] SendQueuedNotifications.php
[edit]
[-] NotificationServiceProvider.php
[edit]
[-] Action.php
[edit]
[+]
..
[-] HasDatabaseNotifications.php
[edit]
[-] AnonymousNotifiable.php
[edit]
[-] ChannelManager.php
[edit]
[+]
Events
[-] Notifiable.php
[edit]
[+]
resources
[+]
Channels
[-] LICENSE.md
[edit]
[-] Notification.php
[edit]
[+]
Console
[-] DatabaseNotification.php
[edit]
[+]
Messages
[-] RoutesNotifications.php
[edit]
[-] NotificationSender.php
[edit]