PHP 인터페이스 Pinq\Parsing\IFunctionLocation

저자: Elliot Levin ([email protected])
파일 보기 프로젝트 열기: timetoogo/pinq

공개 메소드들

메소드 설명
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.

메소드 상세

getEndLine() 공개 메소드

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

getFilePath() 공개 메소드

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

getHash() 공개 메소드

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

getNamespace() 공개 메소드

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

getStartLine() 공개 메소드

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

inNamespace() 공개 메소드

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