You are here

public function Tap::__construct in GraphQL 8.4

Tap constructor.

Parameters

\Drupal\graphql\GraphQL\Resolver\ResolverInterface $resolver:

File

src/GraphQL/Resolver/Tap.php, line 26

Class

Tap
Resolves by forwarding to another resolver.

Namespace

Drupal\graphql\GraphQL\Resolver

Code

public function __construct(ResolverInterface $resolver) {
  $this->resolver = $resolver;
}