| 1 | <?php |
||
| 18 | class Interpret |
||
| 19 | { |
||
| 20 | use MapperTrait; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @inheritdoc |
||
| 24 | */ |
||
| 25 | public function __invoke(array $data) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param array $errors |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | public function normalizeErrors(array $errors): array |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param array $error |
||
| 58 | * @return array |
||
| 59 | */ |
||
| 60 | protected function prepareError(array $error): array |
||
| 67 | } |
||
| 68 |