Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class SwiftMailerAdapter implements SenderAdapterInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var \Swift_Mailer |
||
13 | */ |
||
14 | private $mailer; |
||
15 | |||
16 | public function __construct(\Swift_Mailer $mailer) |
||
17 | { |
||
18 | $this->mailer = $mailer; |
||
19 | } |
||
20 | |||
21 | public function send(string $fromName, string $fromEmail, string $toEmail, string $subject, string $body): void |
||
32 | } |
||
33 | } |
||
34 |