| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait EnvelopeTrait |
||
| 8 | { |
||
| 9 | private MessageInterface $message; |
||
| 10 | |||
| 11 | public function getMessage(): MessageInterface |
||
| 12 | { |
||
| 13 | return $this->message; |
||
| 14 | } |
||
| 15 | |||
| 16 | public function withMessage(MessageInterface $message): self |
||
| 22 | } |
||
| 23 | |||
| 24 | 7 | public function getHandler(): string |
|
| 25 | { |
||
| 26 | 7 | return $this->message->getHandler(); |
|
| 27 | } |
||
| 28 | |||
| 29 | 1 | public function getData(): mixed |
|
| 32 | } |
||
| 33 | |||
| 34 | public function getMetadata(): array |
||
| 37 | } |
||
| 38 | } |
||
| 39 |