TypeLoader ​
- Type
- Class
- Namespace
- craft\gql
- Inherits
- craft\gql\TypeLoader
- Since
- 3.3.0
Class TypeLoader
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.
loadType() ​
Arguments ​
$type(string)
Returns ​
\GraphQL\Type\Definition\Type
Throws ​
registerType() ​
Register a type with a callable loader function.