Ejemplo n.º 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);
Ejemplo n.º 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);
Ejemplo n.º 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);