Automattic\WooCommerce\Vendor\GraphQL\Utils

BuildClientSchema::getInterfaceTypepublicWC 1.0

Method of the class: BuildClientSchema{}

No Hooks.

Returns

null. Nothing (null).

Usage

$BuildClientSchema = new BuildClientSchema();
$BuildClientSchema->getInterfaceType( $typeRef ): InterfaceType;
$typeRef(array) (required)
.

BuildClientSchema::getInterfaceType() code WC 10.9.1

public function getInterfaceType(array $typeRef): InterfaceType
{
    $type = $this->getType($typeRef);

    return InterfaceType::assertInterfaceType($type);
}