WooCommerce Code Reference

UniqueArgumentDefinitionNames extends ValidationRule
in package

Unique argument definition names.

A Automattic\WooCommerce\Vendor\GraphQL Object or Interface type is only valid if all its fields have uniquely named arguments. A Automattic\WooCommerce\Vendor\GraphQL Directive is only valid if all its arguments are uniquely named.

Table of Contents

$name  : string
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.
checkArgUniqueness()  : VisitorOperation

Properties

Methods