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

namespace IlluminateNotifications;

use 
IlluminateDatabaseEloquentCollection;

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();
    }
}
Онлайн: 1
Реклама