PHP Interface Pinq\Parsing\IFunctionLocation

Author: Elliot Levin ([email protected])
Exibir arquivo Open project: timetoogo/pinq

Public Methods

Method Description
getEndLine ( ) : integer Gets the end line of the function.
getFilePath ( ) : string Gets the file path where the function was declared.
getHash ( ) : string Gets a hash of the function location.
getNamespace ( ) : string | null Gets the namespace which the function was defined in.
getStartLine ( ) : integer Gets the start line of the function.
inNamespace ( ) : boolean Whether the function is defined in a namespace.

Method Details

getEndLine() public method

Gets the end line of the function.
public getEndLine ( ) : integer
return integer

getFilePath() public method

Gets the file path where the function was declared.
public getFilePath ( ) : string
return string

getHash() public method

Gets a hash of the function location.
public getHash ( ) : string
return string

getNamespace() public method

Null if in the global namespace.
public getNamespace ( ) : string | null
return string | null

getStartLine() public method

Gets the start line of the function.
public getStartLine ( ) : integer
return integer

inNamespace() public method

Whether the function is defined in a namespace.
public inNamespace ( ) : boolean
return boolean