Automattic\WooCommerce\Vendor\GraphQL\Language\AST

FieldNode::__constructpublicWC 1.0

Method of the class: FieldNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

$FieldNode = new FieldNode();
$FieldNode->__construct( $vars );
$vars(array) (required)
.

FieldNode::__construct() code WC 10.9.1

public function __construct(array $vars)
{
    parent::__construct($vars);
    $this->directives ??= new NodeList([]);
    $this->arguments ??= new NodeList([]);
}