• 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/MessageService.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\General\Infrastructure\Service;
6

7
use App\General\Domain\Service\Interfaces\MessageServiceInterface;
8
use App\General\Infrastructure\Message\TestMessage;
9
use Symfony\Component\Messenger\Envelope;
10
use Symfony\Component\Messenger\MessageBusInterface;
11

12
/**
13
 * Class MessageService
14
 *
15
 * @package App\General
16
 */
17
class MessageService implements MessageServiceInterface
18
{
19
    public function __construct(
20
        private MessageBusInterface $bus,
21
    ) {
22
    }
×
23

24
    /**
25
     * TODO: This is example for creating test message, you can delete it.
26
     */
27
    public function sendTestMessage(string $someId): self
28
    {
29
        $this->bus->dispatch(new Envelope(new TestMessage($someId)));
×
30

31
        return $this;
×
32
    }
33
}
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

© 2025 Coveralls, Inc