private function getSchemaErrorsAsString(array $errors) { return join(', ', array_map(function (array $error) { return sprintf('%s (%s)', $error['property'], $error['constraint']); }, $errors)); }