Automattic\WooCommerce\Vendor\GraphQL\Language\AST

FragmentDefinitionNode::__construct │ public │ WC 1.0

Method of the class: FragmentDefinitionNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

FragmentDefinitionNode::__construct() code WC 11.1.2

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