Automattic\WooCommerce\Vendor\GraphQL\Utils
SchemaPrinter::printBlock
Method of the class: SchemaPrinter{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = SchemaPrinter::printBlock( $items ): string;
- $items(array
) (required) - .
SchemaPrinter::printBlock() SchemaPrinter::printBlock code WC 10.9.1
protected static function printBlock(array $items): string
{
return $items === []
? ''
: " {\n" . implode("\n", $items) . "\n}";
}