PHP 인터페이스 Youshido\GraphQL\Validator\ResolveValidator\ResolveValidatorInterface

파일 보기 프로젝트 열기: youshido/graphql 0 사용 예제들

공개 메소드들

메소드 설명
assertTypeImplementsInterface ( AbstractType $type, AbstractInterfaceType $interface )
assertTypeInUnionTypes ( AbstractType $type, AbstractUnionType $unionType )
assertValidArguments ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $query, Request $request )
assertValidResolvedValueForField ( Youshido\GraphQL\Field\FieldInterface $field, $resolvedValue )
assetTypeHasField ( AbstractType $objectType, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast )

메소드 상세

assertTypeImplementsInterface() 공개 메소드

public assertTypeImplementsInterface ( AbstractType $type, AbstractInterfaceType $interface )
$type Youshido\GraphQL\Type\AbstractType
$interface Youshido\GraphQL\Type\InterfaceType\AbstractInterfaceType

assertTypeInUnionTypes() 공개 메소드

public assertTypeInUnionTypes ( AbstractType $type, AbstractUnionType $unionType )
$type Youshido\GraphQL\Type\AbstractType
$unionType Youshido\GraphQL\Type\Union\AbstractUnionType

assertValidArguments() 공개 메소드

public assertValidArguments ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $query, Request $request )
$field Youshido\GraphQL\Field\FieldInterface
$query Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface
$request Youshido\GraphQL\Execution\Request

assertValidResolvedValueForField() 공개 메소드

public assertValidResolvedValueForField ( Youshido\GraphQL\Field\FieldInterface $field, $resolvedValue )
$field Youshido\GraphQL\Field\FieldInterface

assetTypeHasField() 공개 메소드

public assetTypeHasField ( AbstractType $objectType, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast )
$objectType Youshido\GraphQL\Type\AbstractType
$ast Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface