/// <summary> /// Gets runtime type information, or <c>null</c> if type with given is not declared. /// </summary> internal PhpTypeInfo GetDeclaredType(string name) => _types.GetDeclaredType(name);
/// <summary> /// Gets runtime type information, or <c>null</c> if type with given is name not declared. /// </summary> public PhpTypeInfo GetDeclaredType(string name, bool autoload = false) => _types.GetDeclaredType(name) ?? (autoload ? this.AutoloadService.AutoloadTypeByName(name) : null);
/// <summary> /// Gets runtime type information, or <c>null</c> if type with given is not declared. /// </summary> internal Reflection.PhpTypeInfo GetDeclaredType(string name) => _types.GetDeclaredType(name);