Automattic\WooCommerce\Vendor\GraphQL\Server

ServerConfig::setContextpublicWC 1.0

Method of the class: ServerConfig{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ServerConfig = new ServerConfig();
$ServerConfig->setContext( $context ): self;
$context(mixed|callable) (required)
.

ServerConfig::setContext() code WC 10.8.1

public function setContext($context): self
{
    $this->context = $context;

    return $this;
}