mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 04:19:43 +00:00
Add getSupportedTypes method for (de)normalizerInterface implementations
This commit is contained in:
@@ -103,4 +103,11 @@ class AccompanyingPeriodWorkEvaluationDenormalizer implements \Symfony\Component
|
||||
$evaluation->addDocument($document);
|
||||
}
|
||||
}
|
||||
|
||||
public function getSupportedTypes(?string $format): array
|
||||
{
|
||||
return [
|
||||
AccompanyingPeriodWorkEvaluation::class => true,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user