You are here

interface TypeResolverInterface in GraphQL 8.2

Same name and namespace in other branches
  1. 8 src/TypeResolverInterface.php \Drupal\graphql\TypeResolverInterface

Provides a common interface for type resolvers.

Hierarchy

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

... See full list

File

src/TypeResolverInterface.php, line 8

Namespace

Drupal\graphql
View 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