Logidav Docs

NotificationController extends Controller
in package

Tags
Route

("notification")

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
Route

("/", name="notification_index")

Return values
JsonResponse

markAsProcessedAction()

Mark a notification as processed.

public markAsProcessedAction(Request $request, NotificationService $notificationService) : JsonResponse
Parameters
$request : Request
$notificationService : NotificationService
Tags
Route

("/mark-as-processed", name="mark_notification_as_processed")

Return values
JsonResponse

markAsReadAction()

Mark a notification as read.

public markAsReadAction(Request $request, NotificationService $notificationService) : JsonResponse
Parameters
$request : Request
$notificationService : NotificationService
Tags
Route

("/mark-as-read", name="mark_notification_as_read")

Return values
JsonResponse

        
On this page

Search results