Automattic\WooCommerce\Vendor\GraphQL\Utils
SchemaPrinter::printObject
Метод класса: SchemaPrinter{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = SchemaPrinter::printObject( $type, $options ): string;
- $type(ObjectType) (обязательный)
- .
- $options(массив) (обязательный)
- .
Код SchemaPrinter::printObject() SchemaPrinter::printObject WC 11.0.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);
}