Automattic\WooCommerce\Vendor\GraphQL\Language\AST
DirectiveNode::__construct
Method of the class: DirectiveNode{}
No Hooks.
Returns
null. Nothing (null).
Usage
$DirectiveNode = new DirectiveNode(); $DirectiveNode->__construct( $vars );
- $vars(array) (required)
- .
DirectiveNode::__construct() DirectiveNode:: construct code WC 10.9.1
public function __construct(array $vars)
{
parent::__construct($vars);
$this->arguments ??= new NodeList([]);
}