PHP 클래스 Phan\Language\Element\TypedElement

..
상속: implements Phan\Language\Element\TypedElementInterface, use trait Phan\Memoize
파일 보기 프로젝트 열기: etsy/phan 1 사용 예제들

공개 메소드들

메소드 설명
__clone ( ) : null After a clone is called on this object, clone our type and fqsen so that they survive copies intact
__construct ( Context $context, string $name, UnionType $type, integer $flags )
getContext ( ) : Context
getFileRef ( ) : FileRef
getFlags ( ) : integer
getName ( ) : string
getPhanFlags ( ) : integer
getSuppressIssueList ( ) : array
getUnionType ( ) : UnionType
getVariadicElementUnionType ( ) : UnionType Variables can't be variadic. This is the same as getUnionType for variables, but not necessarily for subclasses. Method will return the element type (such as DateTime) for variadic parameters.
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
setFlags ( integer $flags ) : void
setIsDeprecated ( boolean $is_deprecated ) : void
setPhanFlags ( integer $phan_flags ) : void
setSuppressIssueList ( array $suppress_issue_list ) : void
setUnionType ( UnionType $type ) : void

보호된 메소드들

메소드 설명
hydrateOnce ( CodeBase $code_base ) : void This method must be called before analysis begins.

비공개 메소드들

메소드 설명
setIsInternal ( boolean $is_internal ) : void

메소드 상세

__clone() 공개 메소드

After a clone is called on this object, clone our type and fqsen so that they survive copies intact
public __clone ( ) : null
리턴 null

__construct() 공개 메소드

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

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

getFlags() 공개 메소드

public getFlags ( ) : integer
리턴 integer

getName() 공개 메소드

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

getPhanFlags() 공개 메소드

public getPhanFlags ( ) : integer
리턴 integer

getSuppressIssueList() 공개 메소드

public getSuppressIssueList ( ) : array
리턴 array

getUnionType() 공개 메소드

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

getVariadicElementUnionType() 공개 메소드

Variables can't be variadic. This is the same as getUnionType for variables, but not necessarily for subclasses. Method will return the element type (such as DateTime) for variadic parameters.
public getVariadicElementUnionType ( ) : UnionType
리턴 Phan\Language\UnionType

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.
final public hydrate ( CodeBase $code_base ) : void
$code_base Phan\CodeBase
리턴 void

hydrateOnce() 보호된 메소드

This method must be called before analysis begins.
protected hydrateOnce ( 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

setFlags() 공개 메소드

public setFlags ( integer $flags ) : void
$flags integer
리턴 void

setIsDeprecated() 공개 메소드

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

setPhanFlags() 공개 메소드

public setPhanFlags ( integer $phan_flags ) : void
$phan_flags integer
리턴 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