Automattic\WooCommerce\Vendor\GraphQL\Language\AST

FragmentSpreadNode::__constructpublicWC 1.0

Method of the class: FragmentSpreadNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

FragmentSpreadNode::__construct() code WC 10.9.1

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