• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

systemsdk / docker-symfony-api / #74

pending completion
#74

push

DKravtsov
Php 8.2, symfony 6.2, updated RabbitMQ, updated composer dependencies, refactoring.

51 of 51 new or added lines in 44 files covered. (100.0%)

1479 of 2668 relevant lines covered (55.43%)

23.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/General/Infrastructure/Service/MailerService.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\General\Infrastructure\Service;
6

7
use App\General\Domain\Service\Interfaces\MailerServiceInterface;
8
use Symfony\Component\Mailer\MailerInterface;
9
use Symfony\Component\Mime\Email;
10

11
/**
12
 * Class MailerService
13
 *
14
 * @package App\General
15
 */
16
class MailerService implements MailerServiceInterface
17
{
18
    public function __construct(
19
        private MailerInterface $mailer,
20
    ) {
21
    }
×
22

23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function sendMail(string $title, string $from, string $to, string $body): void
27
    {
28
        $email = (new Email())
×
29
            ->from($from)
×
30
            ->to($to)
×
31
            ->subject($title)
×
32
            ->html($body);
×
33

34
        $this->mailer->send($email);
×
35
    }
36
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc