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