Automattic\WooCommerce\Internal\Api\Autogenerated
GraphQLController::build_schema
Method of the class: GraphQLController{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->build_schema(): Schema;
GraphQLController::build_schema() GraphQLController::build schema code WC 10.9.1
protected function build_schema(): Schema {
return new Schema(
array(
'query' => RootQueryType::get(),
'mutation' => RootMutationType::get(),
'types' => TypeRegistry::get_interface_implementors(),
)
);
}