PHP Interface Phan\Language\Element\TypedElementInterface

..
Afficher le fichier Open project: etsy/phan

Méthodes publiques

Méthode Description
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

Method Details

getContext() public méthode

public getContext ( ) : Context
Résultat Phan\Language\Context The context in which this structural element exists

getFileRef() public méthode

public getFileRef ( ) : FileRef
Résultat Phan\Language\FileRef A reference to where this element was found

getName() public méthode

public getName ( ) : string
Résultat string The (not fully-qualified) name of this element.

getUnionType() public méthode

public getUnionType ( ) : UnionType
Résultat Phan\Language\UnionType Get the type of this structural element

hasSuppressIssue() public méthode

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

hydrate() public méthode

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

isDeprecated() public méthode

public isDeprecated ( ) : boolean
Résultat boolean True if this element is marked as deprecated

isInternal() public méthode

public isInternal ( ) : boolean
Résultat boolean True if this was an internal PHP object

setIsDeprecated() public méthode

public setIsDeprecated ( boolean $is_deprecated ) : void
$is_deprecated boolean Set this element as deprecated
Résultat void

setSuppressIssueList() public méthode

public setSuppressIssueList ( array $suppress_issue_list ) : void
$suppress_issue_list array Set the set of issue names to suppress
Résultat void

setUnionType() public méthode

public setUnionType ( UnionType $type ) : void
$type Phan\Language\UnionType Set the type of this element
Résultat void