PHP Interface Phan\Language\FQSEN

Afficher le fichier Open project: etsy/phan Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

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

canonicalName() public static méthode

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

fromFullyQualifiedString() public static méthode

public static fromFullyQualifiedString ( string $fully_qualified_string ) : static
$fully_qualified_string string
Résultat static

fromStringInContext() public static méthode

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

getCanonicalFQSEN() public méthode

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

getName() public méthode

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