PHP Class ApiPlatform\SchemaGenerator\AnnotationGenerator\DoctrineOrmAnnotationGenerator

Author: Kévin Dunglas ([email protected])
Inheritance: extends AbstractAnnotationGenerator
Mostrar archivo Open project: api-platform/schema-generator

Public Methods

Method Description
generateClassAnnotations ( $className )
generateFieldAnnotations ( $className, $fieldName )
generateUses ( $className )

Private Methods

Method Description
getRelationName ( string $range ) : string Gets class or interface name to use in relations.

Method Details

generateClassAnnotations() public method

public generateClassAnnotations ( $className )

generateFieldAnnotations() public method

public generateFieldAnnotations ( $className, $fieldName )

generateUses() public method

public generateUses ( $className )