Passed
Pull Request — master (#2)
by Oleksandr
12:21
created

getInxmailEventCustomerRegistration()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Inxmail;
9
10
use Spryker\Shared\Application\ApplicationConstants;
0 ignored issues
show
Bug introduced by
The type Spryker\Shared\Application\ApplicationConstants was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
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_CANCELED);
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