ApiPlatform\SchemaGenerator\TypesGenerator::generateInterfaceAnnotations PHP Method

generateInterfaceAnnotations() private method

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