Automattic\WooCommerce\Internal\Api\Autogenerated

GraphQLController::build_schemaprotectedWC 1.0

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() 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(),
		)
	);
}