You are here

public function Map::__construct in GraphQL 8.4

Map constructor.

Parameters

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

File

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

Class

Map
Execute a resolver for each item in the given list.

Namespace

Drupal\graphql\GraphQL\Resolver

Code

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