Automattic\WooCommerce\Vendor\GraphQL\Utils

SchemaPrinter::printInterfaceprotected staticWC 1.0

Method of the class: SchemaPrinter{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = SchemaPrinter::printInterface( $type, $options ): string;
$type(InterfaceType) (required)
.
$options(array) (required)
.

SchemaPrinter::printInterface() code WC 10.9.1

protected static function printInterface(InterfaceType $type, array $options): string
{
    return static::printDescription($options, $type)
        . "interface {$type->name}"
        . static::printImplementedInterfaces($type)
        . static::printFields($options, $type);
}