1 | <?php |
||
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() |
||
56 | } |
||
57 |