You are here

public function Path::__construct in GraphQL 8.4

Path constructor.

Parameters

string $type:

mixed $path:

\Drupal\graphql\GraphQL\Resolver\ResolverInterface|null $value:

File

src/GraphQL/Resolver/Path.php, line 53

Class

Path
Resolves a property path.

Namespace

Drupal\graphql\GraphQL\Resolver

Code

public function __construct($type, $path, ResolverInterface $value = NULL) {
  $this->type = $type;
  $this->path = $path;
  $this->value = $value;
}