WooCommerce Code Reference

Schema.php

Source code

<?php

declare(strict_types=1);

namespace Automattic\WooCommerce\Api\Infrastructure\Schema;

/**
 * Stable subclass of the underlying GraphQL engine's Schema, used by
 * autogenerated GraphQLController subclasses.
 *
 * The constructor accepts the same associative-array config the current
 * engine (webonyx) documents (keys: `query`, `mutation`, `types`, etc.).
 * Extending the engine class means its executor treats an instance of this
 * class identically to its own parent, so no adaptation is needed at runtime.
 */
class Schema extends \Automattic\WooCommerce\Vendor\GraphQL\Type\Schema {
}