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

systemsdk / docker-nginx-php-symfony / #60

01 Oct 2023 03:20PM UTC coverage: 0.0%. Remained the same
#60

push

DKravtsov
Fixed ssh-nginx make command.

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

3
declare(strict_types=1);
4

5
namespace App\Service;
6

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

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

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

34
        return $this;
×
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