Spaces:
No application file
No application file
File size: 3,429 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 102 103 104 105 106 107 108 109 110 |
<?php
namespace Mautic\WebhookBundle;
/**
* Events available for MauticWebhookBundle.
*/
final class WebhookEvents
{
/**
* The mautic.webhook_pre_save event is thrown right before a form is persisted.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookBundleEvent instance.
*
* @var string
*/
public const WEBHOOK_PRE_SAVE = 'mautic.webhook_pre_save';
/**
* The mautic.webhook_post_save event is thrown right after a form is persisted.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookBundleEvent instance.
*
* @var string
*/
public const WEBHOOK_POST_SAVE = 'mautic.webhook_post_save';
/**
* The mautic.webhook_pre_delete event is thrown before a form is deleted.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookBundleEvent instance.
*
* @var string
*/
public const WEBHOOK_PRE_DELETE = 'mautic.webhook_pre_delete';
/**
* The mautic.webhook_post_delete event is thrown after a form is deleted.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookBundleEvent instance.
*
* @var string
*/
public const WEBHOOK_POST_DELETE = 'mautic.webhook_post_delete';
/**
* The mautic.webhook_kill event is thrown when target is not available.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookEvent instance.
*
* @var string
*/
public const WEBHOOK_KILL = 'mautic.webhook_kill';
/**
* The mautic.webhook_queue_on_add event is thrown as the queue entity is created, before it is persisted to the database.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookQueueEvent instance.
*
* @var string
*/
public const WEBHOOK_QUEUE_ON_ADD = 'mautic.webhook_queue_on_add';
/**
* The mautic.webhook_pre_execute event is thrown right before a webhook URL is executed.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookExecuteEvent instance.
*
* @var string
*/
public const WEBHOOK_PRE_EXECUTE = 'mautic.webhook_pre_execute';
/**
* The mautic.webhook_post_execute event is thrown right after a webhook URL is executed.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookExecuteEvent instance.
*
* @var string
*/
public const WEBHOOK_POST_EXECUTE = 'mautic.webhook_post_execute';
/**
* The mautic.webhook_on_build event is as the webhook form is built.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookBuild instance.
*
* @var string
*/
public const WEBHOOK_ON_BUILD = 'mautic.webhook_on_build';
/**
* The mautic.webhook.campaign_on_trigger event is dispatched from the mautic:campaign:trigger command.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignTriggerEvent instance.
*
* @var string
*/
public const ON_CAMPAIGN_TRIGGER_ACTION = 'mautic.webhook.campaign_on_trigger_action';
/**
* The mautic.webhook_on_request event is fired before request is processed.
*
* The event listener receives a Mautic\WebhookBundle\Event\WebhookRequestEvent instance.
*
* @var string
*/
public const WEBHOOK_ON_REQUEST = 'mautic.webhook_on_request';
}
|