PHP 클래스 Phan\Language\Element\AddressableElement

상속: extends TypedElement, implements Phan\Language\Element\AddressableElementInterface
파일 보기 프로젝트 열기: etsy/phan 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$fqsen Phan\Language\FQSEN

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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 addReference ( FileRef $file_ref ) : void
$file_ref Phan\Language\FileRef A reference to a location in which this typed structural element is referenced.
리턴 void

getFQSEN() 공개 메소드

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

getReferenceCount() 공개 메소드

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

getReferenceList() 공개 메소드

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

isPrivate() 공개 메소드

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

isProtected() 공개 메소드

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

isPublic() 공개 메소드

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

setFQSEN() 공개 메소드

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

프로퍼티 상세

$fqsen 보호되어 있는 프로퍼티

protected FQSEN,Phan\Language $fqsen
리턴 Phan\Language\FQSEN