WooCommerce Code Reference

UniqueOperationTypes extends ValidationRule
in package

Unique operation types.

A Automattic\WooCommerce\Vendor\GraphQL document is only valid if it has only one type per operation.

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