Automattic\WooCommerce\Vendor\GraphQL\Utils
SchemaPrinter::printInterface
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() 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);
}