MockType

Type
Class
Namespace
craft\test\mockclasses\gql
Inherits
craft\test\mockclasses\gql\MockType » craft\gql\base\ObjectType » GraphQL\Type\Definition\ObjectType

Class MockType

View source

Public Methods

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

getName()

View source

getType()

View source

Protected Methods

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