ApiPlatform\SchemaGenerator\TypesGenerator::generateClassAnnotations PHP Method

generateClassAnnotations() private method

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