PHP Интерфейс Pinq\Parsing\IFunctionLocation

Автор: Elliot Levin ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
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