Automattic\WooCommerce\Vendor\GraphQL\Type
SchemaConfig::setAstNode
Method of the class: SchemaConfig{}
No Hooks.
Returns
null. Nothing (null).
Usage
$SchemaConfig = new SchemaConfig(); $SchemaConfig->setAstNode( ?SchemaDefinitionNode $astNode ): self;
- ?SchemaDefinitionNode $astNode(required)
- .
SchemaConfig::setAstNode() SchemaConfig::setAstNode code WC 10.9.4
public function setAstNode(?SchemaDefinitionNode $astNode): self
{
$this->astNode = $astNode;
return $this;
}