You are here

public function ResolverRegistry::getAllFieldResolvers in GraphQL 8.4

Return all field resolvers in the registry.

@todo This should be added to ResolverRegistryInterface in 5.0.0.

Return value

callable[] A nested list of callables, keyed by type and field name.

File

src/GraphQL/ResolverRegistry.php, line 128

Class

ResolverRegistry
Contains all the mappings how to resolve a GraphQL request.

Namespace

Drupal\graphql\GraphQL

Code

public function getAllFieldResolvers() : array {
  return $this->fieldResolvers;
}