| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | final class RabbitMq3Transport implements TransportInterface |
||
| 13 | { |
||
| 14 | private $key; |
||
| 15 | |||
| 16 | private $connector; |
||
| 17 | |||
| 18 | public function __construct(string $key, RabbitMq3Connector $connector) |
||
| 19 | { |
||
| 20 | $this->key = $key; |
||
| 21 | $this->connector = $connector; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function send(EnvelopeInterface $envelope, MessageBusInterface $messageBus): bool |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getKey(): string |
||
| 45 | } |
||
| 46 | } |
||
| 47 |