Automattic\WooCommerce\Api\Infrastructure

GraphQLControllerBase::build_schemaprotectedWC 1.0

Construct the GraphQL schema.

Implemented by the autogenerated subclass emitted by ApiBuilder (both for WooCommerce core and for sibling plugins that reuse this infrastructure) so the base class stays agnostic to any specific autogenerated namespace.

Method of the class: GraphQLControllerBase{}

No Hooks.

Returns

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->build_schema(): Schema;

GraphQLControllerBase::build_schema() code WC 10.9.1

abstract protected function build_schema(): Schema;