Skip to content

TypeLoader ​

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

Class TypeLoader

View source

Public Methods ​

MethodDescription
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 ​