Automattic\WooCommerce\Vendor\GraphQL\Utils

SchemaPrinter::printScalarprotected staticWC 1.0

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() code WC 10.9.1

protected static function printScalar(ScalarType $type, array $options): string
{
    return static::printDescription($options, $type)
        . "scalar {$type->name}";
}