PHP Class Phan\Language\FQSEN\FullyQualifiedClassName

Inheritance: extends FullyQualifiedGlobalStructuralElement, use trait Phan\Memoize
显示文件 Open project: etsy/phan Class Usage Examples

Public Methods

Method Description
asType ( ) : Type
asUnionType ( ) : UnionType
canonicalName ( string $name ) : string
fromType ( Type $type ) : FullyQualifiedClassName
getStdClassFQSEN ( ) : FullyQualifiedClassName

Protected Methods

Method Description
getNamespaceMapType ( ) : integer

Method Details

asType() public method

public asType ( ) : Type
return Phan\Language\Type The type of this class

asUnionType() public method

public asUnionType ( ) : UnionType
return Phan\Language\UnionType The union type of just this class type

canonicalName() public static method

public static canonicalName ( string $name ) : string
$name string
return string The canonical representation of the name of the object. Functions and Methods, for instance, lowercase their names.

fromType() public static method

public static fromType ( Type $type ) : FullyQualifiedClassName
$type Phan\Language\Type
return FullyQualifiedClassName A fully qualified class name from the given type

getNamespaceMapType() protected static method

protected static getNamespaceMapType ( ) : integer
return integer The namespace map type such as \ast\flags\USE_NORMAL or \ast\flags\USE_FUNCTION

getStdClassFQSEN() public static method

public static getStdClassFQSEN ( ) : FullyQualifiedClassName
return FullyQualifiedClassName The FQSEN for \stdClass.