Completed
Push — master ( 201e9c...877b57 )
by Artem
11:08
created

SinchEvents   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 39
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
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\CallbackEvent Listeners receive an instance of this class
44
     */
45
    const CALLBACK_RECEIVED = 'sinch.callback';
46
47
    // endregion
48
49
50
    /**
51
     * Constructor.
52
     */
53
    private function __construct()
54
    {
55
    }
56
}
57