public function TypedDataTypeResolver::__construct in GraphQL 8.2
Same name and namespace in other branches
- 8 src/TypeResolver/TypedDataTypeResolver.php \Drupal\graphql\TypeResolver\TypedDataTypeResolver::__construct()
Creates a TypedDataTypeResolver object.
Parameters
\Drupal\graphql\TypeResolverInterface $typeResolver: The type resolver service.
2 calls to TypedDataTypeResolver::__construct()
- ContentEntityTypeResolver::__construct in src/
TypeResolver/ ContentEntityTypeResolver.php - Constructs a ContentEntityTypeResolver object.
- FieldItemTypeResolver::__construct in src/
TypeResolver/ FieldItemTypeResolver.php - Constructs a FieldItemTypeResolver object.
2 methods override TypedDataTypeResolver::__construct()
- ContentEntityTypeResolver::__construct in src/
TypeResolver/ ContentEntityTypeResolver.php - Constructs a ContentEntityTypeResolver object.
- FieldItemTypeResolver::__construct in src/
TypeResolver/ FieldItemTypeResolver.php - Constructs a FieldItemTypeResolver object.
File
- src/
TypeResolver/ TypedDataTypeResolver.php, line 50
Class
- TypedDataTypeResolver
- Generically resolves the schema for typed data types.
Namespace
Drupal\graphql\TypeResolverCode
public function __construct(TypeResolverInterface $typeResolver) {
$this->typeResolver = $typeResolver;
}