Completed
Push — master ( c4c163...ac63cb )
by Artem
02:12
created

SinchEvents::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
/*
3
 * This file is part of the FreshSinchBundle
4
 *
5
 * (c) Artem Genvald <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Fresh\SinchBundle\Event;
12
13
/**
14
 * SinchEvents.
15
 *
16
 * @author Artem Genvald <[email protected]>
17
 */
18
final class SinchEvents
19
{
20
    // region SMS sending
21
22
    /**
23
     * This event is triggered before the SMS is going to be sent.
24
     *
25
     * @see \Fresh\SinchBundle\Event\SmsEvent Listeners receive an instance of this class
26
     */
27
    const PRE_SMS_SEND = 'sinch.sms.pre_send';
28
29
    /**
30
     * This event is triggered after the SMS is successfully sent.
31
     *
32
     * @see \Fresh\SinchBundle\Event\SmsEvent Listeners receive an instance of this class
33
     */
34
    const POST_SMS_SEND = 'sinch.sms.post_send';
35
36
    // endregion
37
38
    // region Callback
39
40
    /**
41
     * This event is triggered callback from Sinch is received.
42
     *
43
     * @see \Fresh\SinchBundle\Event\SmsMessageCallbackEvent Listeners receive an instance of this class
44
     */
45
    const CALLBACK_RECEIVED = 'sinch.callback.received';
46
47
    // endregion
48
}
49