PHP Interface Youshido\GraphQL\Validator\ResolveValidator\ResolveValidatorInterface

Afficher le fichier Open project: youshido/graphql Interface Usage Examples

Méthodes publiques

Méthode Description
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 )

Method Details

assertTypeImplementsInterface() public méthode

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

assertTypeInUnionTypes() public méthode

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

assertValidArguments() public méthode

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 méthode

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

assetTypeHasField() public méthode

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