WooCommerce Code Reference

UniqueTypeNames extends ValidationRule
in package

Unique type names.

A Automattic\WooCommerce\Vendor\GraphQL document is only valid if all defined types have unique names.

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.

Properties

Methods