Automattic\WooCommerce\Vendor\GraphQL

GraphQL::getStandardTypespublic staticWC 1.0

Deprecated. It is no longer supported and may be removed in future releases. See {@see Type::builtInScalars()}.

Returns built-in scalar types defined in Automattic\WooCommerce\Vendor\GraphQL spec.

Method of the class: GraphQL{}

No Hooks.

Returns

Array. ScalarType>

Usage

$result = GraphQL::getStandardTypes(): array;

Changelog

Deprecated use {@see Type::builtInScalars()}

GraphQL::getStandardTypes() code WC 10.9.1

public static function getStandardTypes(): array
{
    return Type::builtInScalars();
}