for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the FreshSinchBundle
*
* (c) Artem Genvald <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Fresh\SinchBundle\Event;
/**
* SinchEvents.
* @author Artem Genvald <[email protected]>
final class SinchEvents
{
// region SMS sending
* This event is triggered before the SMS is going to be sent.
* @see \Fresh\SinchBundle\Event\SmsEvent Listeners receive an instance of this class
const PRE_SMS_SEND = 'sinch.sms.pre_send';
* This event is triggered after the SMS is successfully sent.
const POST_SMS_SEND = 'sinch.sms.post_send';
// endregion
// region Callback
* This event is triggered callback from Sinch is received.
* @see \Fresh\SinchBundle\Event\SmsMessageCallbackEvent Listeners receive an instance of this class
const CALLBACK_RECEIVED = 'sinch.callback.received';
}