| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 14 | final class InProcessTransport implements TransportInterface |
||
| 15 | { |
||
| 16 | private string $key; |
||
| 17 | |||
| 18 | 2 | public function __construct(string $key) |
|
| 21 | 2 | } |
|
| 22 | |||
| 23 | 1 | public function send(EnvelopeInterface $envelope, MessageBusInterface $messageBus): void |
|
| 24 | { |
||
| 25 | 1 | $messageBus->receive($envelope); |
|
| 26 | 1 | } |
|
| 27 | |||
| 28 | 1 | public function getKey(): string |
|
| 31 | } |
||
| 32 | } |
||
| 33 |