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