PHP Class Pinq\Parsing\FunctionLocation

Author: Elliot Levin ([email protected])
Inheritance: implements Pinq\Parsing\IFunctionLocation
Afficher le fichier Open project: timetoogo/pinq

Protected Properties

Свойство Type Description
$endLine integer
$filePath string
$hash string
$namespace string | null
$startLine integer

Méthodes publiques

Méthode Description
__construct ( $filePath, $namespace, $startLine, $endLine )
fromReflection ( ReflectionFunctionAbstract $reflection ) : self Creates a function location instance from the supplied reflection.
getEndLine ( )
getFilePath ( )
getHash ( )
getNamespace ( )
getStartLine ( )
inNamespace ( )

Method Details

__construct() public méthode

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

fromReflection() public static méthode

Creates a function location instance from the supplied reflection.
public static fromReflection ( ReflectionFunctionAbstract $reflection ) : self
$reflection ReflectionFunctionAbstract
Résultat self

getEndLine() public méthode

public getEndLine ( )

getFilePath() public méthode

public getFilePath ( )

getHash() public méthode

public getHash ( )

getNamespace() public méthode

public getNamespace ( )

getStartLine() public méthode

public getStartLine ( )

inNamespace() public méthode

public inNamespace ( )

Property Details

$endLine protected_oe property

protected int $endLine
Résultat integer

$filePath protected_oe property

protected string $filePath
Résultat string

$hash protected_oe property

protected string $hash
Résultat string

$namespace protected_oe property

protected string|null $namespace
Résultat string | null

$startLine protected_oe property

protected int $startLine
Résultat integer