class NewNotificationEvent extends Event

Event thrown each time a new notification for a user is created

Methods

__construct(Notification $notification)

Create a new event

getNotification()

Get the new notification

Details

at line line 25
__construct(Notification $notification)

Create a new event

Parameters

Notification $notification The new notification

at line line 34
Notification getNotification()

Get the new notification

Return Value

Notification