User

Type
Class
Namespace
craft\gql\types\elements
Inherits
craft\gql\types\elements\User » craft\gql\base\ObjectType » GraphQL\Type\Definition\ObjectType
Since
3.3.0

Class User

View source

Public Methods

MethodDescription
__construct()
resolveWithDirectives()Resolve a value with the directives that apply to it.

__construct()

View source

Arguments

  • $config

Protected Methods

MethodDescription
resolve()Resolve a field value with arguments, context and resolve information.

resolve()

Resolve a field value with arguments, context and resolve information.

View source

Arguments

  • $source (mixed) – The parent data source to use for resolving this field
  • $arguments (array) – Arguments for resolving this field.
  • $context (mixed) – The context shared between all resolvers
  • $resolveInfo (\GraphQL\Type\Definition\ResolveInfo) – The resolve information

Returns

mixed – $result