Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

Type::getStandardTypespublic staticWC 1.0

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

Returns all built-in scalar types.

Method of the class: Type{}

No Hooks.

Returns

array<string, ScalarType>.

Usage

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

Changelog

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

Type::getStandardTypes() code WC 11.0.1

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