WooCommerce Code Reference

ProvidedRequiredArgumentsOnDirectives extends ValidationRule
in package

Provided required arguments on directives.

A directive is only valid if all required (non-null without a default value) field arguments have been provided.

Tags
phpstan-import-type

VisitorArray from Visitor

Table of Contents

$name  : string
getASTVisitor()  : array<string|int, mixed>
getName()  : string
getSDLVisitor()  : array<string|int, mixed>
Returns structure suitable for @see \Automattic\WooCommerce\Vendor\GraphQL\Language\Visitor.
getVisitor()  : array<string|int, mixed>
Returns structure suitable for @see \Automattic\WooCommerce\Vendor\GraphQL\Language\Visitor.
missingDirectiveArgMessage()  : string

Properties

Methods