| Total Complexity | 4 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class DefaultJsonMessage extends DefaultMessage |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | protected $messageScheme = []; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $context = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string|array|object $message |
||
| 21 | * @param array $context |
||
| 22 | * @return $this |
||
| 23 | */ |
||
| 24 | 4 | public function createMessage($message, array $context): MessageInterface |
|
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 4 | public function getMessage(): string |
|
| 53 |