编辑文件:GraphQLController.php
<?php declare(strict_types=1); // THIS FILE IS AUTO-GENERATED. DO NOT EDIT MANUALLY. namespace Automattic\WooCommerce\Internal\Api\Autogenerated; use Automattic\WooCommerce\Api\Infrastructure\Schema\Schema; class GraphQLController extends \Automattic\WooCommerce\Api\Infrastructure\GraphQLControllerBase { protected function build_schema(): Schema { return new Schema( array( 'query' => RootQueryType::get(), 'mutation' => RootMutationType::get(), 'types' => TypeRegistry::get_interface_implementors(), ) ); } protected function get_class_resolver_fqcn(): ?string { return \Automattic\WooCommerce\Api\Infrastructure\ClassResolver::class; } protected function get_principal_resolver_fqcn(): ?string { return \Automattic\WooCommerce\Api\Infrastructure\PrincipalResolver::class; } protected function principal_resolver_takes_request(): bool { return false; } }
保存
返回