| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | 8 | public static function pack(MessageInterface $message): array |
|
| 20 | { |
||
| 21 | return [ |
||
| 22 | 8 | 'subject' => $message->getSubject(), |
|
| 23 | 8 | 'data' => $message->getData(), |
|
| 24 | 8 | 'to' => $message->getTo(), |
|
| 25 | 8 | 'cc' => $message->getCC(), |
|
| 26 | 8 | 'bcc' => $message->getBCC(), |
|
| 27 | 8 | 'from' => $message->getFrom(), |
|
| 28 | 8 | 'replyTo' => $message->getReplyTo(), |
|
| 29 | 8 | 'options' => $message->getOptions(), |
|
| 30 | ]; |
||
| 51 |