You are here

public function Composite::__construct in GraphQL 8.4

Composite constructor.

Parameters

array $resolvers:

File

src/GraphQL/Resolver/Composite.php, line 28

Class

Composite
Resolves by calling a chain of resolvers after each other.

Namespace

Drupal\graphql\GraphQL\Resolver

Code

public function __construct(array $resolvers) {
  $this->resolvers = $resolvers;
}