TypeLoader

Type
Class
Namespace
craft\gql
Inherits
craft\gql\TypeLoader
Since
3.3.0

Class TypeLoader

View source

# Public Methods

Method Description
flush() Flush all registered type loaders.
loadType()
registerType() Register a type with a callable loader function.

# flush()

Flush all registered type loaders.

View source

# loadType()

View source

Arguments

Returns

\GraphQL\Type\Definition\Type

Throws

# registerType()

Register a type with a callable loader function.

View source

Arguments