ApiPlatform\SchemaGenerator\TypesGenerator::generateGetterAnnotations PHP Method

generateGetterAnnotations() private method

Generates getter's annotations.
private generateGetterAnnotations ( array $annotationGenerators, string $className, string $fieldName ) : array
$annotationGenerators array
$className string
$fieldName string
return array
    private function generateGetterAnnotations(array $annotationGenerators, $className, $fieldName)
    {
        $annotations = [];
        foreach ($annotationGenerators as $generator) {
            $annotations = array_merge($annotations, $generator->generateGetterAnnotations($className, $fieldName));
        }
        return $annotations;
    }