Automattic\WooCommerce\Vendor\GraphQL\Language
Printer::doPrint
Converts the AST of a Automattic\WooCommerce\Vendor\GraphQL node to a string.
Handles both executable definitions and schema definitions.
Method of the class: Printer{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = Printer::doPrint( $ast ): string;
- $ast(Node) (required)
- .
Printer::doPrint() Printer::doPrint code WC 10.9.1
public static function doPrint(Node $ast): string
{
return static::p($ast);
}