|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* MIT License |
|
5
|
|
|
* For full license information, please view the LICENSE file that was distributed with this source code. |
|
6
|
|
|
*/ |
|
7
|
|
|
|
|
8
|
|
|
namespace SprykerEco\Zed\Inxmail; |
|
9
|
|
|
|
|
10
|
|
|
use Spryker\Shared\Application\ApplicationConstants; |
|
|
|
|
|
|
11
|
|
|
use Spryker\Zed\Kernel\AbstractBundleConfig; |
|
12
|
|
|
use SprykerEco\Shared\Inxmail\InxmailConstants; |
|
13
|
|
|
|
|
14
|
|
|
class InxmailConfig extends AbstractBundleConfig |
|
15
|
|
|
{ |
|
16
|
|
|
/** |
|
17
|
|
|
* @return string |
|
18
|
|
|
*/ |
|
19
|
|
|
public function getInxmailKeyId(): string |
|
20
|
|
|
{ |
|
21
|
|
|
return $this->get(InxmailConstants::KEY_ID); |
|
22
|
|
|
} |
|
23
|
|
|
|
|
24
|
|
|
/** |
|
25
|
|
|
* @return string |
|
26
|
|
|
*/ |
|
27
|
|
|
public function getInxmailSecret(): string |
|
28
|
|
|
{ |
|
29
|
|
|
return $this->get(InxmailConstants::SECRET); |
|
30
|
|
|
} |
|
31
|
|
|
|
|
32
|
|
|
/** |
|
33
|
|
|
* @return string |
|
34
|
|
|
*/ |
|
35
|
|
|
public function getInxmailEventApiUrl(): string |
|
36
|
|
|
{ |
|
37
|
|
|
return $this->get(InxmailConstants::API_EVENT_URL); |
|
38
|
|
|
} |
|
39
|
|
|
|
|
40
|
|
|
/** |
|
41
|
|
|
* @return string |
|
42
|
|
|
*/ |
|
43
|
|
|
public function getInxmailEventCustomerRegistration(): string |
|
44
|
|
|
{ |
|
45
|
|
|
return $this->get(InxmailConstants::EVENT_CUSTOMER_REGISTRATION); |
|
46
|
|
|
} |
|
47
|
|
|
|
|
48
|
|
|
/** |
|
49
|
|
|
* @return string |
|
50
|
|
|
*/ |
|
51
|
|
|
public function getInxmailEventCustomerResetPassword(): string |
|
52
|
|
|
{ |
|
53
|
|
|
return $this->get(InxmailConstants::EVENT_CUSTOMER_RESET_PASSWORD); |
|
54
|
|
|
} |
|
55
|
|
|
|
|
56
|
|
|
/** |
|
57
|
|
|
* @return string |
|
58
|
|
|
*/ |
|
59
|
|
|
public function getInxmailEventOrderNew(): string |
|
60
|
|
|
{ |
|
61
|
|
|
return $this->get(InxmailConstants::EVENT_ORDER_NEW); |
|
62
|
|
|
} |
|
63
|
|
|
|
|
64
|
|
|
/** |
|
65
|
|
|
* @return string |
|
66
|
|
|
*/ |
|
67
|
|
|
public function getInxmailEventOrderShippingConfirmation(): string |
|
68
|
|
|
{ |
|
69
|
|
|
return $this->get(InxmailConstants::EVENT_ORDER_SHIPPING_CONFIRMATION); |
|
70
|
|
|
} |
|
71
|
|
|
|
|
72
|
|
|
/** |
|
73
|
|
|
* @return string |
|
74
|
|
|
*/ |
|
75
|
|
|
public function getInxmailEventOrderCanceled(): string |
|
76
|
|
|
{ |
|
77
|
|
|
return $this->get(InxmailConstants::EVENT_ORDER_CANCELLED); |
|
78
|
|
|
} |
|
79
|
|
|
|
|
80
|
|
|
/** |
|
81
|
|
|
* @return string |
|
82
|
|
|
*/ |
|
83
|
|
|
public function getInxmailEventOrderPaymentIsNotReceived(): string |
|
84
|
|
|
{ |
|
85
|
|
|
return $this->get(InxmailConstants::EVENT_ORDER_PAYMENT_IS_NOT_RECEIVED); |
|
86
|
|
|
} |
|
87
|
|
|
|
|
88
|
|
|
/** |
|
89
|
|
|
* @return string |
|
90
|
|
|
*/ |
|
91
|
|
|
public function getHostYves(): string |
|
92
|
|
|
{ |
|
93
|
|
|
return $this->get(ApplicationConstants::HOST_YVES); |
|
94
|
|
|
} |
|
95
|
|
|
} |
|
96
|
|
|
|
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths