Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Notifications/DatabaseNotificationCollection.php
Строк: 29
<?php

namespace IlluminateNotifications;

use 
IlluminateDatabaseEloquentCollection;

/**
 * @template TKey of array-key
 * @template TModel of DatabaseNotification
 *
 * @extends IlluminateDatabaseEloquentCollection<TKey, TModel>
 */
class DatabaseNotificationCollection extends Collection
{
    
/**
     * Mark all notifications as read.
     *
     * @return void
     */
    
public function markAsRead()
    {
        
$this->each->markAsRead();
    }

    
/**
     * Mark all notifications as unread.
     *
     * @return void
     */
    
public function markAsUnread()
    {
        
$this->each->markAsUnread();
    }
}
Онлайн: 0
Реклама