Automattic\WooCommerce\Vendor\GraphQL\Utils
SchemaPrinter::printObject
Method of the class: SchemaPrinter{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = SchemaPrinter::printObject( $type, $options ): string;
- $type(ObjectType) (required)
- .
- $options(array) (required)
- .
SchemaPrinter::printObject() SchemaPrinter::printObject code WC 10.9.1
protected static function printObject(ObjectType $type, array $options): string
{
return static::printDescription($options, $type)
. "type {$type->name}"
. static::printImplementedInterfaces($type)
. static::printFields($options, $type);
}