private generateFieldAnnotations ( ApiPlatform\SchemaGenerator\AnnotationGenerator\AnnotationGeneratorInterface[] $annotationGenerators, string $className, string $fieldName ) : array | ||
$annotationGenerators | ApiPlatform\SchemaGenerator\AnnotationGenerator\AnnotationGeneratorInterface[] | |
$className | string | |
$fieldName | string | |
Résultat | array |
private function generateFieldAnnotations($annotationGenerators, $className, $fieldName)
{
$annotations = [];
foreach ($annotationGenerators as $generator) {
$annotations = array_merge($annotations, $generator->generateFieldAnnotations($className, $fieldName));
}
return $annotations;
}