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

systemsdk / docker-apache-php-symfony / #66

22 Jun 2025 05:44PM UTC coverage: 0.0%. Remained the same
#66

push

DKravtsov
symfony 7.3, mysql 8.4.5, rabbitmq 4.1, xdebug 3.4.4, updated composer dependencies and documentation.

0 of 9 relevant lines covered (0.0%)

0.0 hits per line

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

0.0
/src/MessageHandler/TestHandler.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\MessageHandler;
6

7
use App\Message\TestMessage;
8
use Psr\Log\LoggerInterface;
9
use Symfony\Component\Messenger\Attribute\AsMessageHandler;
10
use Throwable;
11

12
/**
13
 * If you need handling multiple - follow https://symfony.com/doc/current/messenger.html#handling-multiple-messages
14
 * TODO: This is handler example, you can delete it.
15
 *
16
 * @package App\MessageHandler
17
 */
18
#[AsMessageHandler]
19
class TestHandler
20
{
21
    public function __construct(
22
        private readonly LoggerInterface $logger,
23
    ) {
24
    }
×
25

26
    /**
27
     * @throws Throwable
28
     */
29
    public function __invoke(TestMessage $message): void
30
    {
31
        $this->handleMessage($message);
×
32
    }
33

34
    /**
35
     * @throws Throwable
36
     */
37
    private function handleMessage(TestMessage $message): void
38
    {
39
        $id = $message->getSomeId();
×
40
        // some actions here
41
        $this->logger->info('Test message processed with id: ' . $id);
×
42
    }
43
}
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