Automattic\WooCommerce\Vendor\GraphQL\Language\AST

DirectiveNode::__constructpublicWC 1.0

Method of the class: DirectiveNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

DirectiveNode::__construct() code WC 10.9.1

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