PHP 인터페이스 Phan\Language\Element\TypedElementInterface

..
파일 보기 프로젝트 열기: etsy/phan

공개 메소드들

메소드 설명
getContext ( ) : Context
getFileRef ( ) : FileRef
getName ( ) : string
getUnionType ( ) : UnionType
hasSuppressIssue ( string $issue_name ) : boolean return bool True if this element would like to suppress the given issue name
hydrate ( CodeBase $code_base ) : void This method must be called before analysis begins.
isDeprecated ( ) : boolean
isInternal ( ) : boolean
setIsDeprecated ( boolean $is_deprecated ) : void
setSuppressIssueList ( array $suppress_issue_list ) : void
setUnionType ( UnionType $type ) : void

메소드 상세

getContext() 공개 메소드

public getContext ( ) : Context
리턴 Phan\Language\Context The context in which this structural element exists

getFileRef() 공개 메소드

public getFileRef ( ) : FileRef
리턴 Phan\Language\FileRef A reference to where this element was found

getName() 공개 메소드

public getName ( ) : string
리턴 string The (not fully-qualified) name of this element.

getUnionType() 공개 메소드

public getUnionType ( ) : UnionType
리턴 Phan\Language\UnionType Get the type of this structural element

hasSuppressIssue() 공개 메소드

return bool True if this element would like to suppress the given issue name
public hasSuppressIssue ( string $issue_name ) : boolean
$issue_name string
리턴 boolean

hydrate() 공개 메소드

This method must be called before analysis begins.
public hydrate ( CodeBase $code_base ) : void
$code_base Phan\CodeBase
리턴 void

isDeprecated() 공개 메소드

public isDeprecated ( ) : boolean
리턴 boolean True if this element is marked as deprecated

isInternal() 공개 메소드

public isInternal ( ) : boolean
리턴 boolean True if this was an internal PHP object

setIsDeprecated() 공개 메소드

public setIsDeprecated ( boolean $is_deprecated ) : void
$is_deprecated boolean Set this element as deprecated
리턴 void

setSuppressIssueList() 공개 메소드

public setSuppressIssueList ( array $suppress_issue_list ) : void
$suppress_issue_list array Set the set of issue names to suppress
리턴 void

setUnionType() 공개 메소드

public setUnionType ( UnionType $type ) : void
$type Phan\Language\UnionType Set the type of this element
리턴 void