Add getSupportedTypes method for (de)normalizerInterface implementations

This commit is contained in:
2025-05-26 11:21:59 +02:00
parent 17db59d221
commit 6e21f2688f
34 changed files with 277 additions and 2 deletions

View File

@@ -37,4 +37,11 @@ class GenderDocGenNormalizer implements \Symfony\Component\Serializer\Normalizer
'type' => 'chill_main_gender',
];
}
public function getSupportedTypes(?string $format): array
{
return [
Gender::class => true,
];
}
}