1 | <?php |
||
8 | class SwiftTwigMailTemplate implements SwiftMailTemplate |
||
9 | { |
||
10 | /** |
||
11 | * @var \Twig_Environment |
||
12 | */ |
||
13 | protected $twigEnvironment; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $twigPath; |
||
19 | |||
20 | /** |
||
21 | * @var string|array |
||
22 | */ |
||
23 | protected $fromAdresses; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $fromName = null; |
||
29 | |||
30 | /** |
||
31 | * @var string|array |
||
32 | */ |
||
33 | protected $toAdresses; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $toName = null; |
||
39 | |||
40 | /** |
||
41 | * @var string|array |
||
42 | */ |
||
43 | protected $bccAdresses; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | protected $bccName = null; |
||
49 | |||
50 | /** |
||
51 | * @var string|array |
||
52 | */ |
||
53 | protected $ccAdresses; |
||
54 | |||
55 | /** |
||
56 | * @var string |
||
57 | */ |
||
58 | protected $ccName = null; |
||
59 | |||
60 | /** |
||
61 | * @var string|array |
||
62 | */ |
||
63 | protected $replyToAdresses; |
||
64 | |||
65 | /** |
||
66 | * @var string |
||
67 | */ |
||
68 | protected $replyToName = null; |
||
69 | |||
70 | /** |
||
71 | * @var int |
||
72 | */ |
||
73 | protected $maxLineLength = 1000; |
||
74 | |||
75 | /** |
||
76 | * @var int |
||
77 | */ |
||
78 | protected $priority; |
||
79 | |||
80 | /** |
||
81 | * @var string |
||
82 | */ |
||
83 | protected $readReceiptTo; |
||
84 | |||
85 | /** |
||
86 | * @var string |
||
87 | */ |
||
88 | protected $returnPath; |
||
89 | |||
90 | /** |
||
91 | * SwiftTwigMailGenerator constructor. |
||
92 | * |
||
93 | * @param \Twig_Environment $twig_Environment |
||
94 | * @param string $twigPath |
||
95 | */ |
||
96 | public function __construct(\Twig_Environment $twig_Environment, string $twigPath) |
||
101 | |||
102 | /** |
||
103 | * @param array $data |
||
104 | * |
||
105 | * @return \Swift_Message |
||
106 | */ |
||
107 | public function renderMail(array $data = []) :\Swift_Message |
||
168 | |||
169 | /** |
||
170 | * @param array|string $fromAdresses |
||
171 | */ |
||
172 | public function setFromAdresses($fromAdresses) |
||
176 | |||
177 | /** |
||
178 | * @param string $fromName |
||
179 | */ |
||
180 | public function setFromName($fromName) |
||
184 | |||
185 | /** |
||
186 | * @param array|string $toAdresses |
||
187 | */ |
||
188 | public function setToAdresses($toAdresses) |
||
192 | |||
193 | /** |
||
194 | * @param string $toName |
||
195 | */ |
||
196 | public function setToName($toName) |
||
200 | |||
201 | /** |
||
202 | * @param array|string $bccAdresses |
||
203 | */ |
||
204 | public function setBccAdresses($bccAdresses) |
||
208 | |||
209 | /** |
||
210 | * @param string $bccName |
||
211 | */ |
||
212 | public function setBccName($bccName) |
||
216 | |||
217 | /** |
||
218 | * @param array|string $ccAdresses |
||
219 | */ |
||
220 | public function setCcAdresses($ccAdresses) |
||
224 | |||
225 | /** |
||
226 | * @param string $ccName |
||
227 | */ |
||
228 | public function setCcName($ccName) |
||
232 | |||
233 | /** |
||
234 | * @param array|string $replyToAdresses |
||
235 | */ |
||
236 | public function setReplyToAdresses($replyToAdresses) |
||
240 | |||
241 | /** |
||
242 | * @param string $replyToName |
||
243 | */ |
||
244 | public function setReplyToName($replyToName) |
||
248 | |||
249 | /** |
||
250 | * @param int $maxLineLength |
||
251 | */ |
||
252 | public function setMaxLineLength($maxLineLength) |
||
256 | |||
257 | /** |
||
258 | * @param int $priority |
||
259 | */ |
||
260 | public function setPriority($priority) |
||
264 | |||
265 | /** |
||
266 | * @param string $readReceiptTo |
||
267 | */ |
||
268 | public function setReadReceiptTo($readReceiptTo) |
||
272 | |||
273 | /** |
||
274 | * @param string $returnPath |
||
275 | */ |
||
276 | public function setReturnPath($returnPath) |
||
280 | } |
||
281 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.