GraphQL\Type\Introspection::_typeKind PHP Method

_typeKind() public static method

public static _typeKind ( )
    public static function _typeKind()
    {
        if (!isset(self::$map['__TypeKind'])) {
            self::$map['__TypeKind'] = new EnumType(['name' => '__TypeKind', 'description' => 'An enum describing what kind of type a given __Type is.', 'values' => ['SCALAR' => ['value' => TypeKind::SCALAR, 'description' => 'Indicates this type is a scalar.'], 'OBJECT' => ['value' => TypeKind::OBJECT, 'description' => 'Indicates this type is an object. `fields` and `interfaces` are valid fields.'], 'INTERFACE' => ['value' => TypeKind::INTERFACE_KIND, 'description' => 'Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.'], 'UNION' => ['value' => TypeKind::UNION, 'description' => 'Indicates this type is a union. `possibleTypes` is a valid field.'], 'ENUM' => ['value' => TypeKind::ENUM, 'description' => 'Indicates this type is an enum. `enumValues` is a valid field.'], 'INPUT_OBJECT' => ['value' => TypeKind::INPUT_OBJECT, 'description' => 'Indicates this type is an input object. `inputFields` is a valid field.'], 'LIST' => ['value' => TypeKind::LIST_KIND, 'description' => 'Indicates this type is a list. `ofType` is a valid field.'], 'NON_NULL' => ['value' => TypeKind::NON_NULL, 'description' => 'Indicates this type is a non-null. `ofType` is a valid field.']]]);
        }
        return self::$map['__TypeKind'];
    }