Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class SendMail |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @var \Swift_Mailer |
||
12 | */ |
||
13 | private $mailer; |
||
14 | /** |
||
15 | * @var EngineInterface |
||
16 | */ |
||
17 | private $templating; |
||
18 | |||
19 | public function __construct(\Swift_Mailer $mailer, EngineInterface $templating) |
||
20 | { |
||
21 | $this->mailer = $mailer; |
||
22 | $this->templating = $templating; |
||
23 | } |
||
24 | |||
25 | public function send(string $subject, string $template, $mailData, string $to, String $from = null):bool |
||
42 | |||
43 | } |
||
45 | } |