PHP Class Phan\Language\FQSEN\AbstractFQSEN

Inheritance: implements Phan\Language\FQSEN
Afficher le fichier Open project: etsy/phan Class Usage Examples

Méthodes publiques

Méthode Description
__toString ( ) : string
canonicalName ( string $name ) : string
fromFullyQualifiedString ( string $fully_qualified_string ) : Phan\Language\FQSEN
fromStringInContext ( string $string, Context $context ) : Phan\Language\FQSEN
getName ( ) : string

Méthodes protégées

Méthode Description
__construct ( string $name )

Method Details

__construct() protected méthode

protected __construct ( string $name )
$name string The name of this structural element

__toString() abstract public méthode

abstract 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() abstract public static méthode

abstract public static fromFullyQualifiedString ( string $fully_qualified_string ) : Phan\Language\FQSEN
$fully_qualified_string string
Résultat Phan\Language\FQSEN

fromStringInContext() abstract public static méthode

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

getName() public méthode

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