/** * @param Type $type * The base type of this generic type referencing a * generic class * * @param UnionType[] $template_parameter_type_list * A map from a template type identifier to a * concrete union type */ public static function fromType(Type $type, $template_parameter_type_list) : Type { return self::make($type->getNamespace(), $type->getName(), $template_parameter_type_list); }