App\Http\Controllers\NotificationsController::getAll PHP 메소드

getAll() 공개 메소드

public getAll ( )
    public function getAll()
    {
        $user = User::find(\Auth::id());
        $notread = $user->getNotificationsNotRead();
        return $notread->toJson();
    }
NotificationsController