PHP Interface Phan\Language\Element\AddressableElementInterface

Inheritance: extends Phan\Language\Element\TypedElementInterface
显示文件 Open project: etsy/phan

Public Methods

Method Description
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

addReference() public method

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

getFQSEN() public method

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

getReferenceCount() public method

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.
return integer The number of references to this typed structural element

getReferenceList() public method

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

isPrivate() public method

public isPrivate ( ) : boolean
return boolean True if this is a private property

isProtected() public method

public isProtected ( ) : boolean
return boolean True if this is a protected property

isPublic() public method

public isPublic ( ) : boolean
return boolean True if this is a public property

setFQSEN() public method

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