1 | <?php |
||
11 | class Email |
||
12 | { |
||
13 | use RecordTrait; |
||
14 | |||
15 | protected $body = ''; |
||
16 | protected $mergeTags = []; |
||
17 | |||
18 | /** |
||
19 | * @inheritDoc |
||
20 | */ |
||
21 | public function getFrom() |
||
25 | |||
26 | /** |
||
27 | * @inheritDoc |
||
28 | */ |
||
29 | public function getSubject() |
||
33 | |||
34 | /** |
||
35 | * @inheritDoc |
||
36 | */ |
||
37 | public function getBody() |
||
41 | |||
42 | /** |
||
43 | * @param string $body |
||
44 | */ |
||
45 | public function setBody(string $body) |
||
49 | |||
50 | /** |
||
51 | * @inheritDoc |
||
52 | */ |
||
53 | public function getMergeTags() |
||
57 | |||
58 | /** |
||
59 | * @param array $mergeTags |
||
60 | */ |
||
61 | public function setMergeTags(array $mergeTags) |
||
65 | |||
66 | /** |
||
67 | * @inheritDoc |
||
68 | */ |
||
69 | protected function getCustomArgs() |
||
73 | |||
74 | /** |
||
75 | * @inheritDoc |
||
76 | */ |
||
77 | public function getTos() |
||
81 | } |