interface ResolverInterface implements OperationResolver (View source)

deprecated 2.0..3.0 Use OperationResolver instead

Applied to classes that resolve queries or mutations

Methods

mixed
resolve(mixed $object, array $args, mixed $context, ResolveInfo $info)

Invoked by the Executor class to resolve this mutation / query

Details

mixed resolve(mixed $object, array $args, mixed $context, ResolveInfo $info)

Invoked by the Executor class to resolve this mutation / query

Parameters

mixed $object
array $args
mixed $context
ResolveInfo $info

Return Value

mixed

See also

Executor