PHP Class Phan\Language\Element\AddressableElement

Inheritance: extends TypedElement, implements Phan\Language\Element\AddressableElementInterface
Afficher le fichier Open project: etsy/phan Class Usage Examples

Protected Properties

Свойство Type Description
$fqsen Phan\Language\FQSEN

Méthodes publiques

Méthode Description
__construct ( Context $context, string $name, UnionType $type, integer $flags, Phan\Language\FQSEN $fqsen )
addReference ( FileRef $file_ref ) : void
getFQSEN ( ) : Phan\Language\FQSEN
getReferenceCount ( CodeBase $code_base ) : integer
getReferenceList ( ) : array
isPrivate ( ) : boolean
isProtected ( ) : boolean
isPublic ( ) : boolean
setFQSEN ( Phan\Language\FQSEN $fqsen ) : void

Method Details

__construct() public méthode

public __construct ( Context $context, string $name, UnionType $type, integer $flags, Phan\Language\FQSEN $fqsen )
$context Phan\Language\Context The context in which the structural element lives
$name string
$type Phan\Language\UnionType
$flags integer
$fqsen Phan\Language\FQSEN A fully qualified name for the element

addReference() public méthode

public addReference ( FileRef $file_ref ) : void
$file_ref Phan\Language\FileRef A reference to a location in which this typed structural element is referenced.
Résultat void

getFQSEN() public méthode

public getFQSEN ( ) : Phan\Language\FQSEN
Résultat Phan\Language\FQSEN The fully-qualified structural element name of this structural element

getReferenceCount() public méthode

public getReferenceCount ( CodeBase $code_base ) : integer
$code_base Phan\CodeBase Some elements may need access to the code base to figure out their total reference count.
Résultat integer The number of references to this typed structural element

getReferenceList() public méthode

public getReferenceList ( ) : array
Résultat array A list of references to this typed structural element.

isPrivate() public méthode

public isPrivate ( ) : boolean
Résultat boolean True if this is a private property

isProtected() public méthode

public isProtected ( ) : boolean
Résultat boolean True if this is a protected property

isPublic() public méthode

public isPublic ( ) : boolean
Résultat boolean True if this is a public property

setFQSEN() public méthode

public setFQSEN ( Phan\Language\FQSEN $fqsen ) : void
$fqsen Phan\Language\FQSEN A fully qualified structural element name to set on this element
Résultat void

Property Details

$fqsen protected_oe property

protected FQSEN,Phan\Language $fqsen
Résultat Phan\Language\FQSEN