Completed
Push — master ( 2de29f...2f75a2 )
by WEBEWEB
03:59
created

EmailLayout::getUnsubscribeURL()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the bootstrap-bundle package.
5
 *
6
 * (c) 2018 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\BootstrapBundle\Model;
13
14
/**
15
 * Email layout.
16
 *
17
 * @author webeweb <https://github.com/webeweb/>
18
 * @package WBW\Bundle\BootstrapBundle\Model
19
 */
20
class EmailLayout {
21
22
    /**
23
     * Account settings URL.
24
     *
25
     * @var string
26
     */
27
    private $accountSettingsURL;
28
29
    /**
30
     * Best regards.
31
     *
32
     * @var string
33
     */
34
    private $bestRegards;
35
36
    /**
37
     * Company logo.
38
     *
39
     * @var string
40
     */
41
    private $companyLogo;
42
43
    /**
44
     * Company name.
45
     *
46
     * @var string
47
     */
48
    private $companyName;
49
50
    /**
51
     * Company URL.
52
     *
53
     * @var string
54
     */
55
    private $companyURL;
56
57
    /**
58
     * Support email.
59
     *
60
     * @var string
61
     */
62
    private $supportEmail;
63
64
    /**
65
     * Support name.
66
     *
67
     * @var string
68
     */
69
    private $supportName;
70
71
    /**
72
     * Support phone.
73
     *
74
     * @var string
75
     */
76
    private $supportPhone;
77
78
    /**
79
     * Unsubscribe URL.
80
     *
81
     * @var string
82
     */
83
    private $unsubscribeURL;
84
85
    /**
86
     * Constructor.
87
     */
88
    public function __construct() {
89
        // NOTHING TO DO.
90
    }
91
92
    /**
93
     * Get the account settings URL.
94
     *
95
     * @return string Returns the account settings URL.
96
     */
97
    public function getAccountSettingsURL() {
98
        return $this->accountSettingsURL;
99
    }
100
101
    /**
102
     * Get the best regards.
103
     *
104
     * @return string Returns the best regards.
105
     */
106
    public function getBestRegards() {
107
        return $this->bestRegards;
108
    }
109
110
    /**
111
     * Get the company logo.
112
     *
113
     * @return string Returns the company logo.
114
     */
115
    public function getCompanyLogo() {
116
        return $this->companyLogo;
117
    }
118
119
    /**
120
     * Get the company name.
121
     *
122
     * @return string Returns the company name.
123
     */
124
    public function getCompanyName() {
125
        return $this->companyName;
126
    }
127
128
    /**
129
     * Get the company URL.
130
     *
131
     * @return string Returns the company URL.
132
     */
133
    public function getCompanyURL() {
134
        return $this->companyURL;
135
    }
136
137
    /**
138
     * Get the support email.
139
     *
140
     * @return string Returns the support email.
141
     */
142
    public function getSupportEmail() {
143
        return $this->supportEmail;
144
    }
145
146
    /**
147
     * Get the support name.
148
     *
149
     * @return string Returns the support name.
150
     */
151
    public function getSupportName() {
152
        return $this->supportName;
153
    }
154
155
    /**
156
     * Get the support phone.
157
     *
158
     * @return string Returns the support phone.
159
     */
160
    public function getSupportPhone() {
161
        return $this->supportPhone;
162
    }
163
164
    /**
165
     * Get the unsuscribe URL.
166
     *
167
     * @return string Returns the unsuscribe URL.
168
     */
169
    public function getUnsubscribeURL() {
170
        return $this->unsubscribeURL;
171
    }
172
173
    /**
174
     * Set the account settings URL.
175
     *
176
     * @param string $accountSettingsURL The account settings URL.
177
     * @return EmailLayout Returns this email layout.
178
     */
179
    public function setAccountSettingsURL($accountSettingsURL) {
180
        $this->accountSettingsURL = $accountSettingsURL;
181
        return $this;
182
    }
183
184
    /**
185
     * Set the best regards.
186
     *
187
     * @param string $bestRegards The best regards.
188
     * @return EmailLayout Returns this email layout.
189
     */
190
    public function setBestRegards($bestRegards) {
191
        $this->bestRegards = $bestRegards;
192
        return $this;
193
    }
194
195
    /**
196
     * Set the company logo.
197
     *
198
     * @param string $companyLogo The company logo.
199
     * @return EmailLayout Returns this email layout.
200
     */
201
    public function setCompanyLogo($companyLogo) {
202
        $this->companyLogo = $companyLogo;
203
        return $this;
204
    }
205
206
    /**
207
     * Set the company name.
208
     *
209
     * @param string $companyName The company name.
210
     * @return EmailLayout Returns this email layout.
211
     */
212
    public function setCompanyName($companyName) {
213
        $this->companyName = $companyName;
214
        return $this;
215
    }
216
217
    /**
218
     * Set the company URL.
219
     *
220
     * @param string $companyURL The company URL.
221
     * @return EmailLayout Returns this email layout.
222
     */
223
    public function setCompanyURL($companyURL) {
224
        $this->companyURL = $companyURL;
225
        return $this;
226
    }
227
228
    /**
229
     * Set the support email.
230
     *
231
     * @param string $supportEmail The support email.
232
     * @return EmailLayout Returns this email layout.
233
     */
234
    public function setSupportEmail($supportEmail) {
235
        $this->supportEmail = $supportEmail;
236
        return $this;
237
    }
238
239
    /**
240
     * Set the support name.
241
     *
242
     * @param string $supportName The support name.
243
     * @return EmailLayout Returns this email layout.
244
     */
245
    public function setSupportName($supportName) {
246
        $this->supportName = $supportName;
247
        return $this;
248
    }
249
250
    /**
251
     * Set the support phone.
252
     *
253
     * @param string $supportPhone The support phone.
254
     * @return EmailLayout Returns this email layout.
255
     */
256
    public function setSupportPhone($supportPhone) {
257
        $this->supportPhone = $supportPhone;
258
        return $this;
259
    }
260
261
    /**
262
     * Set the unsuscribe URL.
263
     *
264
     * @param string $unsubscribeURL The unsuscribe URL.
265
     * @return EmailLayout Returns this email layout.
266
     */
267
    public function setUnsubscribeURL($unsubscribeURL) {
268
        $this->unsubscribeURL = $unsubscribeURL;
269
        return $this;
270
    }
271
272
}
273