PHP Класс Pinq\Parsing\FunctionLocation

Автор: Elliot Levin ([email protected])
Наследование: implements Pinq\Parsing\IFunctionLocation
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$endLine integer
$filePath string
$hash string
$namespace string | null
$startLine integer

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

Метод Описание
__construct ( $filePath, $namespace, $startLine, $endLine )
fromReflection ( ReflectionFunctionAbstract $reflection ) : self Creates a function location instance from the supplied reflection.
getEndLine ( )
getFilePath ( )
getHash ( )
getNamespace ( )
getStartLine ( )
inNamespace ( )

Описание методов

__construct() публичный Метод

public __construct ( $filePath, $namespace, $startLine, $endLine )

fromReflection() публичный статический Метод

Creates a function location instance from the supplied reflection.
public static fromReflection ( ReflectionFunctionAbstract $reflection ) : self
$reflection ReflectionFunctionAbstract
Результат self

getEndLine() публичный Метод

public getEndLine ( )

getFilePath() публичный Метод

public getFilePath ( )

getHash() публичный Метод

public getHash ( )

getNamespace() публичный Метод

public getNamespace ( )

getStartLine() публичный Метод

public getStartLine ( )

inNamespace() публичный Метод

public inNamespace ( )

Описание свойств

$endLine защищенное свойство

protected int $endLine
Результат integer

$filePath защищенное свойство

protected string $filePath
Результат string

$hash защищенное свойство

protected string $hash
Результат string

$namespace защищенное свойство

protected string|null $namespace
Результат string | null

$startLine защищенное свойство

protected int $startLine
Результат integer