Automattic\WooCommerce\Vendor\GraphQL\Utils

BuildClientSchema::__constructpublicWC 1.0

Method of the class: BuildClientSchema{}

No Hooks.

Returns

null. Nothing (null).

Usage

$BuildClientSchema = new BuildClientSchema();
$BuildClientSchema->__construct( $introspectionQuery, $options );
$introspectionQuery(array<string, mixed>) (required)
.
$options(array<string, bool>)
.
Default: []

BuildClientSchema::__construct() code WC 11.0.1

public function __construct(array $introspectionQuery, array $options = [])
{
    $this->introspection = $introspectionQuery;
    $this->options = $options;
}