| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function normalize($object, string $format = null, array $context = []) |
||
| 31 | { |
||
| 32 | /** @var LocalizationableException|Throwable $object */ |
||
| 33 | $data = $this->exceptionNormalizer->normalize($object, $format, $context); |
||
| 34 | $data['message'] = $this->translate($object->getI18n()); |
||
|
|
|||
| 35 | return $data; |
||
| 36 | } |
||
| 46 |