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