Exemple #1
0
 /// <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);
Exemple #2
0
 /// <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);
Exemple #3
0
 /// <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);