Automattic\WooCommerce\Vendor\GraphQL\Type

Introspection::getTypespublic staticWC 1.0

Method of the class: Introspection{}

No Hooks.

Returns

Array. Type&NamedType>

Usage

$result = Introspection::getTypes(): array;

Introspection::getTypes() code WC 10.9.1

public static function getTypes(): array
{
    return [
        self::SCHEMA_OBJECT_NAME => self::_schema(),
        self::TYPE_OBJECT_NAME => self::_type(),
        self::DIRECTIVE_OBJECT_NAME => self::_directive(),
        self::FIELD_OBJECT_NAME => self::_field(),
        self::INPUT_VALUE_OBJECT_NAME => self::_inputValue(),
        self::ENUM_VALUE_OBJECT_NAME => self::_enumValue(),
        self::TYPE_KIND_ENUM_NAME => self::_typeKind(),
        self::DIRECTIVE_LOCATION_ENUM_NAME => self::_directiveLocation(),
    ];
}