Automattic\WooCommerce\Vendor\GraphQL\Server
ServerConfig::setQueryBatching
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() ServerConfig::setQueryBatching code WC 10.8.1
public function setQueryBatching(bool $enableBatching): self
{
$this->queryBatching = $enableBatching;
return $this;
}