PHP Class ApiPlatform\SchemaGenerator\AnnotationGenerator\DoctrineMongoDBAnnotationGenerator

Inheritance: extends AbstractAnnotationGenerator
Show file 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 )