forked from maximilienGilet/notification-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MgiletNotificationEvents.php
55 lines (47 loc) · 1.4 KB
/
MgiletNotificationEvents.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
namespace Mgilet\NotificationBundle;
final class MgiletNotificationEvents
{
/**
* Occurs when a Notification is created.
*
* @Event("Mgilet\NotificationBundle\Event\NotificationEvent")
*/
const CREATED = 'mgilet.notification.created';
/**
* Occurs when a Notification is assigned to a NotifiableEntity.
*
* @Event("Mgilet\NotificationBundle\Event\NotificationEvent")
*/
const ASSIGNED = 'mgilet.notification.assigned';
/**
* Occurs when a Notification is marked as seen.
*
* @Event("Mgilet\NotificationBundle\Event\NotificationEvent")
*/
const SEEN = 'mgilet.notification.seen';
/**
* Occurs when a Notification is marked as unseen.
*
* @Event("Mgilet\NotificationBundle\Event\NotificationEvent")
*/
const UNSEEN = 'mgilet.notification.unseen';
/**
* Occurs when a Notification is modified.
*
* @Event("Mgilet\NotificationBundle\Event\NotificationEvent")
*/
const MODIFIED = 'mgilet.notification.modified';
/**
* Occurs when a Notification is removed.
*
* @Event("Mgilet\NotificationBundle\Event\NotificationEvent")
*/
const REMOVED = 'mgilet.notification.removed';
/**
* Occurs when a Notification is deleted
*
* @Event("Mgilet\NotificationBundle\Event\NotificationEvent")
*/
const DELETED = 'mgilet.notification.delete';
}