TypeResolverInterface.php in GraphQL 8
Same filename and directory in other branches
Namespace
Drupal\graphqlFile
src/TypeResolverInterface.phpView source
<?php
namespace Drupal\graphql;
/**
* Provides a common interface for type resolvers.
*/
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);
}
Interfaces
Name | Description |
---|---|
TypeResolverInterface | Provides a common interface for type resolvers. |