| Total Complexity | 3 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php declare(strict_types=1); | ||
| 18 | class MailService implements SiteConfigAwareInterface, ViewAwareInterface | ||
| 19 | { | ||
| 20 | |||
| 21 | use HasSiteConfigTrait; | ||
| 22 | use HasViewTrait; | ||
| 23 | |||
| 24 | private Mailer $mailer; | ||
| 25 | |||
| 26 | public function setMailer(Mailer $mailer): void | ||
| 27 |     { | ||
| 28 | 2 | $this->mailer = $mailer; | |
| 29 | } | ||
| 30 | 2 | ||
| 31 | private function renderEmail(string $template, array $data): string | ||
| 34 | } | ||
| 35 | |||
| 36 | public function sendEmail(EmailMessage $message): bool | ||
| 46 | } | ||
| 47 | } | ||
| 48 |