Property | Type | Description | |
---|---|---|---|
$alternate_id | integer | An alternate ID for the elemnet for use when there are multiple definitions of the element |
Method | Description | |
---|---|---|
getAlternateId ( ) : integer | ||
getCanonicalFQSEN ( ) : Phan\Language\FQSEN | ||
getName ( ) : string | Implementers must have a getName() method | |
getNameWithAlternateId ( ) : string | ||
isAlternate ( ) : boolean | ||
withAlternateId ( integer $alternate_id ) : Phan\Language\FQSEN |
Method | Description | |
---|---|---|
memoizeFlushAll ( ) | Implementers should use the \Phan\Memoize trait |
public getAlternateId ( ) : integer | ||
return | integer | An alternate identifier associated with this FQSEN or zero if none if this is not an alternative. |
public getCanonicalFQSEN ( ) : Phan\Language\FQSEN | ||
return | Phan\Language\FQSEN | Get the canonical (non-alternate) FQSEN associated with this FQSEN |
public getNameWithAlternateId ( ) : string | ||
return | string | Get the name of this element with its alternate id attached |
public isAlternate ( ) : boolean | ||
return | boolean | True if this is an alternate |
abstract protected memoizeFlushAll ( ) |
abstract public withAlternateId ( integer $alternate_id ) : Phan\Language\FQSEN | ||
$alternate_id | integer | |
return | Phan\Language\FQSEN | A FQSEN with the given alternate_id set |
protected int $alternate_id | ||
return | integer |