add docgen:normalization for relation

This commit is contained in:
2021-12-09 13:51:36 +01:00
committed by Julie Lenaerts
parent 2524229941
commit a25123ee38
3 changed files with 10 additions and 37 deletions

View File

@@ -268,6 +268,7 @@ class DocGenObjectNormalizer implements NormalizerAwareInterface, NormalizerInte
->localize($value);
} elseif (is_iterable($value)) {
$arr = [];
foreach ($value as $k => $v) {
$arr[$k] =
$this->normalizer->normalize($v, $format, array_merge(