Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

ImplementingType{}interfaceWC 1.0

export type GraphQLImplementingType = GraphQLObjectType | GraphQLInterfaceType;.

No Hooks.

Usage

$ImplementingType = new ImplementingType();
// use class methods

Methods

  1. public getInterfaces()
  2. public implementsInterface(InterfaceType $interfaceType)

ImplementingType{} code WC 10.9.1

interface ImplementingType
{
    public function implementsInterface(InterfaceType $interfaceType): bool;

    /** @return array<int, InterfaceType> */
    public function getInterfaces(): array;
}