WooCommerce Code Reference

UniqueDirectivesPerLocation extends ValidationRule
in package

Unique directive names per location.

A Automattic\WooCommerce\Vendor\GraphQL document is only valid if all non-repeatable directives at a given location are uniquely named.

Tags
phpstan-import-type

VisitorArray from Visitor

Table of Contents

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

Properties

Methods