NotificationController
extends Controller
in package
Tags
Table of Contents
Methods
- getNotificationsAction() : JsonResponse
- Get the unread or the unprocessed notifications.
- markAsProcessedAction() : JsonResponse
- Mark a notification as processed.
- markAsReadAction() : JsonResponse
- Mark a notification as read.
Methods
getNotificationsAction()
Get the unread or the unprocessed notifications.
public
getNotificationsAction(Request $request, NotificationService $notificationService) : JsonResponse
Parameters
- $request : Request
- $notificationService : NotificationService
Tags
Return values
JsonResponsemarkAsProcessedAction()
Mark a notification as processed.
public
markAsProcessedAction(Request $request, NotificationService $notificationService) : JsonResponse
Parameters
- $request : Request
- $notificationService : NotificationService
Tags
Return values
JsonResponsemarkAsReadAction()
Mark a notification as read.
public
markAsReadAction(Request $request, NotificationService $notificationService) : JsonResponse
Parameters
- $request : Request
- $notificationService : NotificationService