PHP Interface Phan\Language\FQSEN

Datei anzeigen Open project: etsy/phan Interface Usage Examples

Public Methods

Method Description
__toString ( ) : string
canonicalName ( string $name ) : string
fromFullyQualifiedString ( string $fully_qualified_string ) : static
fromStringInContext ( string $string, Context $context ) : static
getCanonicalFQSEN ( ) : static
getName ( ) : string

Method Details

__toString() public method

public __toString ( ) : string
return string A string representation of this fully-qualified structural element name.

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.

fromFullyQualifiedString() public static method

public static fromFullyQualifiedString ( string $fully_qualified_string ) : static
$fully_qualified_string string
return static

fromStringInContext() public static method

public static fromStringInContext ( string $string, Context $context ) : static
$string string
$context Context The context in which the FQSEN string was found
return static

getCanonicalFQSEN() public method

public getCanonicalFQSEN ( ) : static
return static Get the canonical (non-alternate) FQSEN associated with this FQSEN

getName() public method

public getName ( ) : string
return string The class associated with this FQSEN or null if not defined