1 | <?php |
||
19 | class EmailAddress extends Model |
||
20 | { |
||
21 | /** @var EmailValidator $validator */ |
||
22 | private $validator; |
||
23 | |||
24 | /** @var string $address */ |
||
25 | public $address; |
||
26 | |||
27 | /** @var boolean */ |
||
28 | public $isValid = true; |
||
29 | |||
30 | /** @var boolean */ |
||
31 | public $isValidRFC = true; |
||
32 | |||
33 | /** @var boolean */ |
||
34 | public $isNoRFCWarnings = true; |
||
35 | |||
36 | /** @var boolean */ |
||
37 | public $isValidDNS = true; |
||
38 | |||
39 | /** @var boolean */ |
||
40 | public $isValidSpoofCheck = true; |
||
41 | |||
42 | /** @var boolean */ |
||
43 | public $needsTrimming; |
||
44 | |||
45 | /** @var string $error */ |
||
46 | public $error; |
||
47 | |||
48 | /** @var boolean */ |
||
49 | public $checkDNS = true; |
||
50 | |||
51 | /** @var boolean */ |
||
52 | public $checkSpoof = true; |
||
53 | |||
54 | public function init() |
||
61 | |||
62 | public function attributeLabels() |
||
75 | |||
76 | |||
77 | /** |
||
78 | * run the different validators |
||
79 | * @return void |
||
80 | */ |
||
81 | private function runValidator(){ |
||
96 | |||
97 | private function setNeedsTrimming(){ |
||
100 | |||
101 | } |