GraphQLMutations
1 month ago
GraphQLQueries
1 month ago
GraphQLTypes
1 month ago
GraphQLController.php
1 month ago
RootMutationType.php
1 month ago
RootQueryType.php
1 month ago
TypeRegistry.php
2 months ago
api_generation_date.txt
1 month ago
api_source_hash.txt
1 month ago
GraphQLController.php
33 lines
| 1 | <?php |
| 2 | declare(strict_types=1); |
| 3 | |
| 4 | // THIS FILE IS AUTO-GENERATED. DO NOT EDIT MANUALLY. |
| 5 | |
| 6 | namespace Automattic\WooCommerce\Internal\Api\Autogenerated; |
| 7 | |
| 8 | use Automattic\WooCommerce\Api\Infrastructure\Schema\Schema; |
| 9 | |
| 10 | class GraphQLController extends \Automattic\WooCommerce\Api\Infrastructure\GraphQLControllerBase { |
| 11 | protected function build_schema(): Schema { |
| 12 | return new Schema( |
| 13 | array( |
| 14 | 'query' => RootQueryType::get(), |
| 15 | 'mutation' => RootMutationType::get(), |
| 16 | 'types' => TypeRegistry::get_interface_implementors(), |
| 17 | ) |
| 18 | ); |
| 19 | } |
| 20 | |
| 21 | protected function get_class_resolver_fqcn(): ?string { |
| 22 | return \Automattic\WooCommerce\Api\Infrastructure\ClassResolver::class; |
| 23 | } |
| 24 | |
| 25 | protected function get_principal_resolver_fqcn(): ?string { |
| 26 | return \Automattic\WooCommerce\Api\Infrastructure\PrincipalResolver::class; |
| 27 | } |
| 28 | |
| 29 | protected function principal_resolver_takes_request(): bool { |
| 30 | return false; |
| 31 | } |
| 32 | } |
| 33 |