-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDncEvents.php
56 lines (50 loc) · 1.51 KB
/
DncEvents.php
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
<?php
/*
* @copyright 2019 Mautic Contributors. All rights reserved
* @author Digital Media Solutions, LLC
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace MauticPlugin\MauticDoNotContactExtrasBundle;
/**
* Class DncEvents.
*
* Events available for DoNotContactExtrasBundle
*/
final class DncEvents
{
/**
* The mautic.dnc_post_delete event is dispatched after a DNC item is deleted.
*
* The event listener receives a MauticPlugin\MauticDoNotContactExtrasBundle\Event\DncEvent instance.
*
* @var string
*/
const POST_DELETE = 'mautic.dnc_post_delete';
/**
* The mautic.dnc_post_save event is dispatched right after a DNC item is persisted.
*
* The event listener receives a MauticPlugin\MauticDoNotContactExtrasBundle\Event\DncEvent instance.
*
* @var string
*/
const POST_SAVE = 'mautic.dnc_post_save';
/**
* The mautic.dnc_pre_delete event is dispatched before a DNC item is deleted.
*
* The event listener receives a MauticPlugin\MauticDoNotContactExtrasBundle\Event\DncEvent instance.
*
* @var string
*/
const PRE_DELETE = 'mautic.dnc_pre_delete';
/**
* The mautic.dnc_pre_save event is dispatched right before a DNC item is persisted.
*
* The event listener receives a MauticPlugin\MauticDoNotContactExtrasBundle\Event\DncEvent instance.
*
* @var string
*/
const PRE_SAVE = 'mautic.dnc_pre_save';
}