PHP Интерфейс Phan\Language\Element\TypedElementInterface

..
Показать файл Открыть проект

Открытые методы

Метод Описание
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