1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace GGGGino\SkuskuCartBundle\Model; |
4
|
|
|
|
5
|
|
|
use Doctrine\ORM\Mapping as ORM; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* SkuskuCustomerBase |
9
|
|
|
* @ORM\MappedSuperclass() |
10
|
|
|
*/ |
11
|
|
|
abstract class SkuskuCustomerBase implements SkuskuCustomerInterface |
12
|
|
|
{ |
13
|
|
|
/** |
14
|
|
|
* @var string |
15
|
|
|
* |
16
|
|
|
* @ORM\Column(name="secure_key", type="string", length=32) |
17
|
|
|
*/ |
18
|
|
|
protected $secureKey; |
19
|
|
|
|
20
|
|
|
/** |
21
|
|
|
* @var string |
22
|
|
|
* |
23
|
|
|
* @ORM\Column(name="email", type="string", length=128) |
24
|
|
|
*/ |
25
|
|
|
protected $email; |
26
|
|
|
|
27
|
|
|
/** |
28
|
|
|
* @var string |
29
|
|
|
* |
30
|
|
|
* @ORM\Column(name="passwd", type="string", length=32) |
31
|
|
|
*/ |
32
|
|
|
protected $passwd; |
33
|
|
|
|
34
|
|
|
/** |
35
|
|
|
* @var time_immutable |
|
|
|
|
36
|
|
|
* |
37
|
|
|
* @ORM\Column(name="last_passwd_gen", type="time_immutable") |
38
|
|
|
*/ |
39
|
|
|
protected $lastPasswdGen; |
40
|
|
|
|
41
|
|
|
/** |
42
|
|
|
* @var \DateTime |
43
|
|
|
* |
44
|
|
|
* @ORM\Column(name="birthday", type="date") |
45
|
|
|
*/ |
46
|
|
|
protected $birthday; |
47
|
|
|
|
48
|
|
|
/** |
49
|
|
|
* @var string |
50
|
|
|
* |
51
|
|
|
* @ORM\Column(name="lastname", type="string", length=32) |
52
|
|
|
*/ |
53
|
|
|
protected $lastname; |
54
|
|
|
|
55
|
|
|
/** |
56
|
|
|
* @var bool |
57
|
|
|
* |
58
|
|
|
* @ORM\Column(name="newsletter", type="boolean") |
59
|
|
|
*/ |
60
|
|
|
protected $newsletter; |
61
|
|
|
|
62
|
|
|
/** |
63
|
|
|
* @var string |
64
|
|
|
* |
65
|
|
|
* @ORM\Column(name="ip_registration_newsletter", type="string", length=15) |
66
|
|
|
*/ |
67
|
|
|
protected $ipRegistrationNewsletter; |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* @var bool |
71
|
|
|
* |
72
|
|
|
* @ORM\Column(name="optin", type="boolean") |
73
|
|
|
*/ |
74
|
|
|
protected $optin; |
75
|
|
|
|
76
|
|
|
/** |
77
|
|
|
* @var string |
78
|
|
|
* |
79
|
|
|
* @ORM\Column(name="firstname", type="string", length=32) |
80
|
|
|
*/ |
81
|
|
|
protected $firstname; |
82
|
|
|
|
83
|
|
|
/** |
84
|
|
|
* @var bool |
85
|
|
|
* |
86
|
|
|
* @ORM\Column(name="active", type="boolean") |
87
|
|
|
*/ |
88
|
|
|
protected $active; |
89
|
|
|
|
90
|
|
|
/** |
91
|
|
|
* @var \DateTime |
92
|
|
|
* |
93
|
|
|
* @ORM\Column(name="date_add", type="datetime") |
94
|
|
|
*/ |
95
|
|
|
protected $dateAdd; |
96
|
|
|
|
97
|
|
|
/** |
98
|
|
|
* @var \DateTime |
99
|
|
|
* |
100
|
|
|
* @ORM\Column(name="date_upd", type="datetime") |
101
|
|
|
*/ |
102
|
|
|
protected $dateUpd; |
103
|
|
|
|
104
|
|
|
|
105
|
|
|
/** |
106
|
|
|
* Set secureKey. |
107
|
|
|
* |
108
|
|
|
* @param string $secureKey |
109
|
|
|
* |
110
|
|
|
* @return SkuskuCustomerBase |
111
|
|
|
*/ |
112
|
|
|
public function setSecureKey($secureKey) |
113
|
|
|
{ |
114
|
|
|
$this->secureKey = $secureKey; |
115
|
|
|
|
116
|
|
|
return $this; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* Get secureKey. |
121
|
|
|
* |
122
|
|
|
* @return string |
123
|
|
|
*/ |
124
|
|
|
public function getSecureKey() |
125
|
|
|
{ |
126
|
|
|
return $this->secureKey; |
127
|
|
|
} |
128
|
|
|
|
129
|
|
|
/** |
130
|
|
|
* Set email. |
131
|
|
|
* |
132
|
|
|
* @param string $email |
133
|
|
|
* |
134
|
|
|
* @return SkuskuCustomerBase |
135
|
|
|
*/ |
136
|
|
|
public function setEmail($email) |
137
|
|
|
{ |
138
|
|
|
$this->email = $email; |
139
|
|
|
|
140
|
|
|
return $this; |
141
|
|
|
} |
142
|
|
|
|
143
|
|
|
/** |
144
|
|
|
* Get email. |
145
|
|
|
* |
146
|
|
|
* @return string |
147
|
|
|
*/ |
148
|
|
|
public function getEmail() |
149
|
|
|
{ |
150
|
|
|
return $this->email; |
151
|
|
|
} |
152
|
|
|
|
153
|
|
|
/** |
154
|
|
|
* Set passwd. |
155
|
|
|
* |
156
|
|
|
* @param string $passwd |
157
|
|
|
* |
158
|
|
|
* @return SkuskuCustomerBase |
159
|
|
|
*/ |
160
|
|
|
public function setPasswd($passwd) |
161
|
|
|
{ |
162
|
|
|
$this->passwd = $passwd; |
163
|
|
|
|
164
|
|
|
return $this; |
165
|
|
|
} |
166
|
|
|
|
167
|
|
|
/** |
168
|
|
|
* Get passwd. |
169
|
|
|
* |
170
|
|
|
* @return string |
171
|
|
|
*/ |
172
|
|
|
public function getPasswd() |
173
|
|
|
{ |
174
|
|
|
return $this->passwd; |
175
|
|
|
} |
176
|
|
|
|
177
|
|
|
/** |
178
|
|
|
* Set lastPasswdGen. |
179
|
|
|
* |
180
|
|
|
* @param time_immutable $lastPasswdGen |
181
|
|
|
* |
182
|
|
|
* @return SkuskuCustomerBase |
183
|
|
|
*/ |
184
|
|
|
public function setLastPasswdGen($lastPasswdGen) |
185
|
|
|
{ |
186
|
|
|
$this->lastPasswdGen = $lastPasswdGen; |
187
|
|
|
|
188
|
|
|
return $this; |
189
|
|
|
} |
190
|
|
|
|
191
|
|
|
/** |
192
|
|
|
* Get lastPasswdGen. |
193
|
|
|
* |
194
|
|
|
* @return time_immutable |
195
|
|
|
*/ |
196
|
|
|
public function getLastPasswdGen() |
197
|
|
|
{ |
198
|
|
|
return $this->lastPasswdGen; |
199
|
|
|
} |
200
|
|
|
|
201
|
|
|
/** |
202
|
|
|
* Set birthday. |
203
|
|
|
* |
204
|
|
|
* @param \DateTime $birthday |
205
|
|
|
* |
206
|
|
|
* @return SkuskuCustomerBase |
207
|
|
|
*/ |
208
|
|
|
public function setBirthday($birthday) |
209
|
|
|
{ |
210
|
|
|
$this->birthday = $birthday; |
211
|
|
|
|
212
|
|
|
return $this; |
213
|
|
|
} |
214
|
|
|
|
215
|
|
|
/** |
216
|
|
|
* Get birthday. |
217
|
|
|
* |
218
|
|
|
* @return \DateTime |
219
|
|
|
*/ |
220
|
|
|
public function getBirthday() |
221
|
|
|
{ |
222
|
|
|
return $this->birthday; |
223
|
|
|
} |
224
|
|
|
|
225
|
|
|
/** |
226
|
|
|
* Set lastname. |
227
|
|
|
* |
228
|
|
|
* @param string $lastname |
229
|
|
|
* |
230
|
|
|
* @return SkuskuCustomerBase |
231
|
|
|
*/ |
232
|
|
|
public function setLastname($lastname) |
233
|
|
|
{ |
234
|
|
|
$this->lastname = $lastname; |
235
|
|
|
|
236
|
|
|
return $this; |
237
|
|
|
} |
238
|
|
|
|
239
|
|
|
/** |
240
|
|
|
* Get lastname. |
241
|
|
|
* |
242
|
|
|
* @return string |
243
|
|
|
*/ |
244
|
|
|
public function getLastname() |
245
|
|
|
{ |
246
|
|
|
return $this->lastname; |
247
|
|
|
} |
248
|
|
|
|
249
|
|
|
/** |
250
|
|
|
* Set newsletter. |
251
|
|
|
* |
252
|
|
|
* @param bool $newsletter |
253
|
|
|
* |
254
|
|
|
* @return SkuskuCustomerBase |
255
|
|
|
*/ |
256
|
|
|
public function setNewsletter($newsletter) |
257
|
|
|
{ |
258
|
|
|
$this->newsletter = $newsletter; |
259
|
|
|
|
260
|
|
|
return $this; |
261
|
|
|
} |
262
|
|
|
|
263
|
|
|
/** |
264
|
|
|
* Get newsletter. |
265
|
|
|
* |
266
|
|
|
* @return bool |
267
|
|
|
*/ |
268
|
|
|
public function getNewsletter() |
269
|
|
|
{ |
270
|
|
|
return $this->newsletter; |
271
|
|
|
} |
272
|
|
|
|
273
|
|
|
/** |
274
|
|
|
* Set ipRegistrationNewsletter. |
275
|
|
|
* |
276
|
|
|
* @param string $ipRegistrationNewsletter |
277
|
|
|
* |
278
|
|
|
* @return SkuskuCustomerBase |
279
|
|
|
*/ |
280
|
|
|
public function setIpRegistrationNewsletter($ipRegistrationNewsletter) |
281
|
|
|
{ |
282
|
|
|
$this->ipRegistrationNewsletter = $ipRegistrationNewsletter; |
283
|
|
|
|
284
|
|
|
return $this; |
285
|
|
|
} |
286
|
|
|
|
287
|
|
|
/** |
288
|
|
|
* Get ipRegistrationNewsletter. |
289
|
|
|
* |
290
|
|
|
* @return string |
291
|
|
|
*/ |
292
|
|
|
public function getIpRegistrationNewsletter() |
293
|
|
|
{ |
294
|
|
|
return $this->ipRegistrationNewsletter; |
295
|
|
|
} |
296
|
|
|
|
297
|
|
|
/** |
298
|
|
|
* Set optin. |
299
|
|
|
* |
300
|
|
|
* @param bool $optin |
301
|
|
|
* |
302
|
|
|
* @return SkuskuCustomerBase |
303
|
|
|
*/ |
304
|
|
|
public function setOptin($optin) |
305
|
|
|
{ |
306
|
|
|
$this->optin = $optin; |
307
|
|
|
|
308
|
|
|
return $this; |
309
|
|
|
} |
310
|
|
|
|
311
|
|
|
/** |
312
|
|
|
* Get optin. |
313
|
|
|
* |
314
|
|
|
* @return bool |
315
|
|
|
*/ |
316
|
|
|
public function getOptin() |
317
|
|
|
{ |
318
|
|
|
return $this->optin; |
319
|
|
|
} |
320
|
|
|
|
321
|
|
|
/** |
322
|
|
|
* Set firstname. |
323
|
|
|
* |
324
|
|
|
* @param string $firstname |
325
|
|
|
* |
326
|
|
|
* @return SkuskuCustomerBase |
327
|
|
|
*/ |
328
|
|
|
public function setFirstname($firstname) |
329
|
|
|
{ |
330
|
|
|
$this->firstname = $firstname; |
331
|
|
|
|
332
|
|
|
return $this; |
333
|
|
|
} |
334
|
|
|
|
335
|
|
|
/** |
336
|
|
|
* Get firstname. |
337
|
|
|
* |
338
|
|
|
* @return string |
339
|
|
|
*/ |
340
|
|
|
public function getFirstname() |
341
|
|
|
{ |
342
|
|
|
return $this->firstname; |
343
|
|
|
} |
344
|
|
|
|
345
|
|
|
/** |
346
|
|
|
* Set active. |
347
|
|
|
* |
348
|
|
|
* @param bool $active |
349
|
|
|
* |
350
|
|
|
* @return SkuskuCustomerBase |
351
|
|
|
*/ |
352
|
|
|
public function setActive($active) |
353
|
|
|
{ |
354
|
|
|
$this->active = $active; |
355
|
|
|
|
356
|
|
|
return $this; |
357
|
|
|
} |
358
|
|
|
|
359
|
|
|
/** |
360
|
|
|
* Get active. |
361
|
|
|
* |
362
|
|
|
* @return bool |
363
|
|
|
*/ |
364
|
|
|
public function getActive() |
365
|
|
|
{ |
366
|
|
|
return $this->active; |
367
|
|
|
} |
368
|
|
|
|
369
|
|
|
/** |
370
|
|
|
* Set dateAdd. |
371
|
|
|
* |
372
|
|
|
* @param \DateTime $dateAdd |
373
|
|
|
* |
374
|
|
|
* @return SkuskuCustomerBase |
375
|
|
|
*/ |
376
|
|
|
public function setDateAdd($dateAdd) |
377
|
|
|
{ |
378
|
|
|
$this->dateAdd = $dateAdd; |
379
|
|
|
|
380
|
|
|
return $this; |
381
|
|
|
} |
382
|
|
|
|
383
|
|
|
/** |
384
|
|
|
* Get dateAdd. |
385
|
|
|
* |
386
|
|
|
* @return \DateTime |
387
|
|
|
*/ |
388
|
|
|
public function getDateAdd() |
389
|
|
|
{ |
390
|
|
|
return $this->dateAdd; |
391
|
|
|
} |
392
|
|
|
|
393
|
|
|
/** |
394
|
|
|
* Set dateUpd. |
395
|
|
|
* |
396
|
|
|
* @param \DateTime $dateUpd |
397
|
|
|
* |
398
|
|
|
* @return SkuskuCustomerBase |
399
|
|
|
*/ |
400
|
|
|
public function setDateUpd($dateUpd) |
401
|
|
|
{ |
402
|
|
|
$this->dateUpd = $dateUpd; |
403
|
|
|
|
404
|
|
|
return $this; |
405
|
|
|
} |
406
|
|
|
|
407
|
|
|
/** |
408
|
|
|
* Get dateUpd. |
409
|
|
|
* |
410
|
|
|
* @return \DateTime |
411
|
|
|
*/ |
412
|
|
|
public function getDateUpd() |
413
|
|
|
{ |
414
|
|
|
return $this->dateUpd; |
415
|
|
|
} |
416
|
|
|
} |
417
|
|
|
|
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