You are here

public function TypeResolverInterface::applies in GraphQL 8

Same name and namespace in other branches
  1. 8.2 src/TypeResolverInterface.php \Drupal\graphql\TypeResolverInterface::applies()

Parameters

mixed $type:

Return value

bool

4 methods override TypeResolverInterface::applies()
ConfigEntityTypeResolver::applies in src/TypeResolver/ConfigEntityTypeResolver.php
LanguageTypeResolver::applies in src/TypeResolver/LanguageTypeResolver.php
TypedDataTypeResolver::applies in src/TypeResolver/TypedDataTypeResolver.php
TypeResolver::applies in src/TypeResolver.php

File

src/TypeResolverInterface.php, line 21

Class

TypeResolverInterface
Provides a common interface for type resolvers.

Namespace

Drupal\graphql

Code

public function applies($type);