-
Notifications
You must be signed in to change notification settings - Fork 0
/
ZboxUnifiedPushEvents.php
46 lines (40 loc) · 1.06 KB
/
ZboxUnifiedPushEvents.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
<?php
/*
* (c) Alexander Zhukov <zbox82@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Zbox\UnifiedPushBundle;
/**
* Class ZboxUnifiedPushEvents
* @package Zbox\UnifiedPushBundle
*/
final class ZboxUnifiedPushEvents
{
/**
* The NOTIFICATION_CREATE event occurs after message
* was successfully packed to be sent to notification service (NS)
*
* @var string
*/
const NOTIFICATION_CREATE = 'notification.create';
/**
* The NOTIFICATION_DISPATCH event occurs after message was sent to NS
*
* @var string
*/
const NOTIFICATION_DISPATCH = 'notification.dispatch';
/**
* The NOTIFICATION_SUCCESS event occurs on positive response of NS
*
* @var string
*/
const NOTIFICATION_SUCCESS = 'notification.success';
/**
* The NOTIFICATION_ERROR event occurs on error response of NS
*
* @var string
*/
const NOTIFICATION_ERROR = 'notification.error';
}