Phan\Language\FQSEN\FullyQualifiedClassName::fromType PHP Méthode

fromType() public static méthode

public static fromType ( Type $type ) : FullyQualifiedClassName
$type Phan\Language\Type
Résultat FullyQualifiedClassName A fully qualified class name from the given type
    public static function fromType(Type $type) : FullyQualifiedClassName
    {
        return self::fromFullyQualifiedString($type->asFQSENString());
    }

Usage Example

Exemple #1
0
 /**
  * @return FQSEN
  * A fully-qualified structural element name derived
  * from this type
  */
 public function asFQSEN() : FQSEN
 {
     return FullyQualifiedClassName::fromType($this);
 }
All Usage Examples Of Phan\Language\FQSEN\FullyQualifiedClassName::fromType