interface TypeResolverInterface in GraphQL 8.2
Same name and namespace in other branches
- 8 src/TypeResolverInterface.php \Drupal\graphql\TypeResolverInterface
Provides a common interface for type resolvers.
Hierarchy
- interface \Drupal\graphql\TypeResolverInterface
Expanded class hierarchy of TypeResolverInterface
All classes that implement TypeResolverInterface
7 files declare their use of TypeResolverInterface
- ConfigEntityTypeResolver.php in src/
TypeResolver/ ConfigEntityTypeResolver.php - ContentEntityTypeResolver.php in src/
TypeResolver/ ContentEntityTypeResolver.php - EntitySchemaProvider.php in src/
SchemaProvider/ EntitySchemaProvider.php - FieldItemTypeResolver.php in src/
TypeResolver/ FieldItemTypeResolver.php - LanguageTypeResolver.php in src/
TypeResolver/ LanguageTypeResolver.php
File
- src/
TypeResolverInterface.php, line 8
Namespace
Drupal\graphqlView source
interface TypeResolverInterface {
/**
* @param mixed $type
*
* @return \Fubhy\GraphQL\Type\Definition\Types\TypeInterface|null
*/
public function resolveRecursive($type);
/**
* @param mixed $type
*
* @return bool
*/
public function applies($type);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TypeResolverInterface:: |
public | function | 4 | |
TypeResolverInterface:: |
public | function | 4 |