PHP Interface Pinq\Parsing\IFunctionLocation

Author: Elliot Levin ([email protected])
Afficher le fichier Open project: timetoogo/pinq

Méthodes publiques

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

Gets the end line of the function.
public getEndLine ( ) : integer
Résultat integer

getFilePath() public méthode

Gets the file path where the function was declared.
public getFilePath ( ) : string
Résultat string

getHash() public méthode

Gets a hash of the function location.
public getHash ( ) : string
Résultat string

getNamespace() public méthode

Null if in the global namespace.
public getNamespace ( ) : string | null
Résultat string | null

getStartLine() public méthode

Gets the start line of the function.
public getStartLine ( ) : integer
Résultat integer

inNamespace() public méthode

Whether the function is defined in a namespace.
public inNamespace ( ) : boolean
Résultat boolean