PHP 클래스 GraphQL\Type\Definition\InterfaceType

상속: extends Type, implements GraphQL\Type\Definition\AbstractType, implements OutputType, implements CompositeType
파일 보기 프로젝트 열기: webonyx/graphql-php 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$config array
$description mixed | null

공개 메소드들

메소드 설명
__construct ( array $config ) InterfaceType constructor.
getField ( $name ) : FieldDefinition
getFields ( ) : FieldDefinition[]
resolveType ( $objectValue, $context, ResolveInfo $info ) : callable | null Resolves concrete ObjectType for given object value

메소드 상세

__construct() 공개 메소드

InterfaceType constructor.
public __construct ( array $config )
$config array

getField() 공개 메소드

public getField ( $name ) : FieldDefinition
$name
리턴 FieldDefinition

getFields() 공개 메소드

public getFields ( ) : FieldDefinition[]
리턴 FieldDefinition[]

resolveType() 공개 메소드

Resolves concrete ObjectType for given object value
public resolveType ( $objectValue, $context, ResolveInfo $info ) : callable | null
$objectValue
$context
$info ResolveInfo
리턴 callable | null

프로퍼티 상세

$config 공개적으로 프로퍼티

public array $config
리턴 array

$description 공개적으로 프로퍼티

public mixed|null $description
리턴 mixed | null