| Total Complexity | 5 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | final class MessageFactory implements MessageFactoryInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @param string $body |
||
| 24 | * @param array $options |
||
| 25 | * |
||
| 26 | * @return Message |
||
| 27 | */ |
||
| 28 | 17 | public function createMessage($body, array $options = []) |
|
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param array $options |
||
| 35 | * |
||
| 36 | * @return ImmutableContainer |
||
| 37 | */ |
||
| 38 | 17 | protected function getMetadata(array $options) |
|
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param array $options |
||
| 47 | * |
||
| 48 | * @return \Closure |
||
| 49 | */ |
||
| 50 | protected function getValidator(array $options) |
||
| 57 |