You are here

public function ResolverRegistryInterface::getTypeResolver in GraphQL 8.4

Get the resolver for a given type name.

Parameters

string $type:

Return value

callable|null

1 method overrides ResolverRegistryInterface::getTypeResolver()
ResolverRegistry::getTypeResolver in src/GraphQL/ResolverRegistry.php
Get the resolver for a given type name.

File

src/GraphQL/ResolverRegistryInterface.php, line 79

Class

ResolverRegistryInterface
Defines a registry to resolve any field in the GraphQL schema tree.

Namespace

Drupal\graphql\GraphQL

Code

public function getTypeResolver($type);