PHP Class SlevomatCodingStandard\Helpers\ReferencedName

Show file Open project: slevomat/coding-standard

Public Methods

Method Description
__construct ( string $nameAsReferencedInFile, integer $pointer, string $type )
getNameAsReferencedInFile ( ) : string
getPointer ( ) : integer
hasSameUseStatementType ( UseStatement $useStatement ) : boolean
isConstant ( ) : boolean
isFunction ( ) : boolean

Method Details

__construct() public method

public __construct ( string $nameAsReferencedInFile, integer $pointer, string $type )
$nameAsReferencedInFile string
$pointer integer
$type string

getNameAsReferencedInFile() public method

getPointer() public method

public getPointer ( ) : integer
return integer

hasSameUseStatementType() public method

public hasSameUseStatementType ( UseStatement $useStatement ) : boolean
$useStatement UseStatement
return boolean

isConstant() public method

public isConstant ( ) : boolean
return boolean

isFunction() public method

public isFunction ( ) : boolean
return boolean