PHP 인터페이스 ApiPlatform\SchemaGenerator\AnnotationGenerator\AnnotationGeneratorInterface

저자: Kévin Dunglas ([email protected])
파일 보기 프로젝트 열기: api-platform/schema-generator

공개 메소드들

메소드 설명
__construct ( Psr\Log\LoggerInterface $logger, array $graphs, array $cardinalities, array $config, array $classes )
generateAdderAnnotations ( string $className, string $fieldName ) : array Generates adder's annotation.
generateClassAnnotations ( string $className ) : array Generates class' annotations.
generateConstantAnnotations ( string $className, string $constantName ) : array Generates constant's annotations.
generateFieldAnnotations ( string $className, string $fieldName ) : array Generates field's annotation.
generateGetterAnnotations ( string $className, string $fieldName ) : array Generates getter's annotation.
generateInterfaceAnnotations ( string $className ) : array Generates interface's annotations.
generateRemoverAnnotations ( string $className, string $fieldName ) : array Generates remover's annotation.
generateSetterAnnotations ( string $className, string $fieldName ) : array Generates setter's annotation.
generateUses ( string $className ) : array Generates uses.

메소드 상세

__construct() 공개 메소드

public __construct ( Psr\Log\LoggerInterface $logger, array $graphs, array $cardinalities, array $config, array $classes )
$logger Psr\Log\LoggerInterface
$graphs array
$cardinalities array
$config array
$classes array

generateAdderAnnotations() 공개 메소드

Generates adder's annotation.
public generateAdderAnnotations ( string $className, string $fieldName ) : array
$className string
$fieldName string
리턴 array

generateClassAnnotations() 공개 메소드

Generates class' annotations.
public generateClassAnnotations ( string $className ) : array
$className string
리턴 array

generateConstantAnnotations() 공개 메소드

Generates constant's annotations.
public generateConstantAnnotations ( string $className, string $constantName ) : array
$className string
$constantName string
리턴 array

generateFieldAnnotations() 공개 메소드

Generates field's annotation.
public generateFieldAnnotations ( string $className, string $fieldName ) : array
$className string
$fieldName string
리턴 array

generateGetterAnnotations() 공개 메소드

Generates getter's annotation.
public generateGetterAnnotations ( string $className, string $fieldName ) : array
$className string
$fieldName string
리턴 array

generateInterfaceAnnotations() 공개 메소드

Generates interface's annotations.
public generateInterfaceAnnotations ( string $className ) : array
$className string
리턴 array

generateRemoverAnnotations() 공개 메소드

Generates remover's annotation.
public generateRemoverAnnotations ( string $className, string $fieldName ) : array
$className string
$fieldName string
리턴 array

generateSetterAnnotations() 공개 메소드

Generates setter's annotation.
public generateSetterAnnotations ( string $className, string $fieldName ) : array
$className string
$fieldName string
리턴 array

generateUses() 공개 메소드

Generates uses.
public generateUses ( string $className ) : array
$className string
리턴 array