PHP Class Phan\Language\Element\PassByReferenceVariable

Inheritance: extends Variable
Show file Open project: etsy/phan

Public Methods

Method Description
__construct ( Parameter $parameter, TypedElement $element )
getContext ( ) : Context
getFileRef ( ) : FileRef
getFlags ( ) : integer
getName ( ) : string
getPhanFlags ( ) : integer
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.
isDeprecated ( ) : boolean
isInternal ( ) : boolean
setFlags ( integer $flags )
setIsDeprecated ( boolean $is_deprecated )
setPhanFlags ( integer $phan_flags )
setUnionType ( UnionType $type )

Method Details

__construct() public method

public __construct ( Parameter $parameter, TypedElement $element )
$parameter Parameter
$element TypedElement

getContext() public method

public getContext ( ) : Context
return Phan\Language\Context

getFileRef() public method

public getFileRef ( ) : FileRef
return Phan\Language\FileRef

getFlags() public method

public getFlags ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

getPhanFlags() public method

public getPhanFlags ( ) : integer
return integer

getUnionType() public method

public getUnionType ( ) : UnionType
return Phan\Language\UnionType

getVariadicElementUnionType() public method

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
return Phan\Language\UnionType

isDeprecated() public method

public isDeprecated ( ) : boolean
return boolean

isInternal() public method

public isInternal ( ) : boolean
return boolean

setFlags() public method

public setFlags ( integer $flags )
$flags integer

setIsDeprecated() public method

public setIsDeprecated ( boolean $is_deprecated )
$is_deprecated boolean

setPhanFlags() public method

public setPhanFlags ( integer $phan_flags )
$phan_flags integer

setUnionType() public method

public setUnionType ( UnionType $type )
$type Phan\Language\UnionType