Automattic\WooCommerce\Vendor\GraphQL\Type

SchemaConfig::setAstNodepublicWC 1.0

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() code WC 10.9.4

public function setAstNode(?SchemaDefinitionNode $astNode): self
{
    $this->astNode = $astNode;

    return $this;
}