Spaces:
No application file
No application file
File size: 3,142 Bytes
d2897cd |
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
<?php
namespace Mautic\ChannelBundle;
final class ChannelEvents
{
/**
* The mautic.add_channel event registers communication channels.
*
* The event listener receives a Mautic\ChannelBundle\Event\ChannelEvent instance.
*
* @var string
*/
public const ADD_CHANNEL = 'mautic.add_channel';
/**
* The mautic.channel_broadcast event is dispatched by the mautic:send:broadcast command to process communication to pending contacts.
*
* The event listener receives a Mautic\ChannelBundle\Event\ChannelBroadcastEvent instance.
*
* @var string
*/
public const CHANNEL_BROADCAST = 'mautic.channel_broadcast';
/**
* The mautic.message_queued event is dispatched to save a message to the queue.
*
* The event listener receives a Mautic\ChannelBundle\Event\MessageQueueEvent instance.
*
* @var string
*/
public const MESSAGE_QUEUED = 'mautic.message_queued';
/**
* The mautic.process_message_queue event is dispatched to be processed by a listener.
*
* The event listener receives a Mautic\ChannelBundle\Event\MessageQueueProcessEvent instance.
*
* @var string
*/
public const PROCESS_MESSAGE_QUEUE = 'mautic.process_message_queue';
/**
* The mautic.process_message_queue_batch event is dispatched to process a batch of messages by channel and channel ID.
*
* The event listener receives a Mautic\ChannelBundle\Event\MessageQueueBatchProcessEvent instance.
*
* @var string
*/
public const PROCESS_MESSAGE_QUEUE_BATCH = 'mautic.process_message_queue_batch';
/**
* The mautic.channel.on_campaign_batch_action event is dispatched when the campaign action triggers.
*
* The event listener receives a Mautic\CampaignBundle\Event\PendingEvent
*
* @var string
*/
public const ON_CAMPAIGN_BATCH_ACTION = 'mautic.channel.on_campaign_batch_action';
/**
* The mautic.message_pre_save event is dispatched right before a form is persisted.
*
* The event listener receives a
* Mautic\ChannelEvent\Event\MessageEvent instance.
*
* @var string
*/
public const MESSAGE_PRE_SAVE = 'mautic.message_pre_save';
/**
* The mautic.message_post_save event is dispatched right after a form is persisted.
*
* The event listener receives a
* Mautic\ChannelEvent\Event\MessageEvent instance.
*
* @var string
*/
public const MESSAGE_POST_SAVE = 'mautic.message_post_save';
/**
* The mautic.message_pre_delete event is dispatched before a form is deleted.
*
* The event listener receives a
* Mautic\ChannelEvent\Event\MessageEvent instance.
*
* @var string
*/
public const MESSAGE_PRE_DELETE = 'mautic.message_pre_delete';
/**
* The mautic.message_post_delete event is dispatched after a form is deleted.
*
* The event listener receives a
* Mautic\ChannelEvent\Event\MessageEvent instance.
*
* @var string
*/
public const MESSAGE_POST_DELETE = 'mautic.message_post_delete';
}
|