$violation->getPropertyPath(), 'message' => $violation->getMessage(), ]; } return $errors; } }