Total Complexity | 5 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class EpiserverConfig |
||
11 | { |
||
12 | protected const SERVICE_FORM_TYPE = 'http/form'; |
||
13 | protected const OPERATION_SEND_TRANSACTION_EMAIL = 'sendtransactionmail'; |
||
14 | protected const OPERATION_SUBSCRIBE_EVENT_EMAIL = 'subscribe'; |
||
15 | protected const OPERATION_UNSUBSCRIBE_EVENT_EMAIL = 'unsubscribe'; |
||
16 | protected const OPERATION_UPDATE_FIELDS_EVENT_EMAIL = 'updatefields'; |
||
17 | |||
18 | /** |
||
19 | * @return string |
||
20 | */ |
||
21 | public function getOperationSendTransactionEmail(): string |
||
22 | { |
||
23 | return static::OPERATION_SEND_TRANSACTION_EMAIL; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @return string |
||
28 | */ |
||
29 | public function getServiceFormType(): string |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return string |
||
36 | */ |
||
37 | public function getOperationSubscribeEventEmail(): string |
||
38 | { |
||
39 | return static::OPERATION_SUBSCRIBE_EVENT_EMAIL; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getOperationUnsubscribeEventEmail(): string |
||
46 | { |
||
47 | return static::OPERATION_UNSUBSCRIBE_EVENT_EMAIL; |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getOperationUpdateFieldsEventEmail(): string |
||
56 | } |
||
57 | } |
||
58 |