Automattic\WooCommerce\Vendor\GraphQL\Type

Schema::getImplementations │ public │ WC 1.0

Returns all types that implement a given interface type.

This operation requires full schema scan. Do not use in production environment.

Method of the class: Schema{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Schema = new Schema();
$Schema->getImplementations( $abstractType ): InterfaceImplementations;
$abstractType(InterfaceType) (required)
.

Schema::getImplementations() code WC 11.1.2

public function getImplementations(InterfaceType $abstractType): InterfaceImplementations
{
    return $this->collectImplementations()[$abstractType->name];
}