-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDCSNotificationEvents.php
30 lines (26 loc) · 1 KB
/
DCSNotificationEvents.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
<?php
namespace DCS\NotificationBundle;
class DCSNotificationEvents
{
/**
* Event triggered when the function "ComponentManager::findOrCreateComponent" does not finds no component and creates a new one
* The Listener will receive an instance of ComponentEvent
*
* @see DCS\NotificationBundle\Event\ComponentEvent
*/
const COMPONENT_CREATED = 'dcs_notification.event.component_created';
/**
* Event triggered before of the persist of the notification
* The listener will receive an instance of NotificationEvent
*
* @see DCS\NotificationBundle\Event\NotificationEvent
*/
const NOTIFICATION_PRE_PERSIST = 'dcs_notification.event.notification.pre_persist';
/**
* Event triggered after of the persist of the notification
* The listener will receive an instance of NotificationEvent
*
* @see DCS\NotificationBundle\Event\NotificationEvent
*/
const NOTIFICATION_POST_PERSIST = 'dcs_notification.event.notification.post_persist';
}