Automattic\WooCommerce\Vendor\GraphQL\Server

ServerConfig::setQueryBatchingpublicWC 1.0

Allow batching queries (disabled by default).

Method of the class: ServerConfig{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ServerConfig = new ServerConfig();
$ServerConfig->setQueryBatching( $enableBatching ): self;
$enableBatching(true|false) (required)
.

ServerConfig::setQueryBatching() code WC 10.8.1

public function setQueryBatching(bool $enableBatching): self
{
    $this->queryBatching = $enableBatching;

    return $this;
}