PHP Class Pinq\Parsing\FunctionReflection

Author: Elliot Levin ([email protected])
Inheritance: extends LocatedFunction, implements Pinq\Parsing\IFunctionReflection
Afficher le fichier Open project: timetoogo/pinq Class Usage Examples

Protected Properties

Свойство Type Description
$callable callable
$globalHash string
$innerReflection ReflectionFunctionAbstract
$scope Pinq\Parsing\IFunctionScope

Méthodes publiques

Méthode Description
__construct ( callable $callable, ReflectionFunctionAbstract $innerReflection, Pinq\Parsing\IFunctionSignature $signature, Pinq\Parsing\IFunctionLocation $location, Pinq\Parsing\IFunctionScope $scope )
asEvaluationContext ( array $variableTable = [] )
fromCallable ( callable $callable ) : self Creates a new function reflection instance from the supplied callable.
getCallable ( )
getGlobalHash ( )
getInnerReflection ( )
getScope ( )
resolveMagic ( Pinq\Parsing\IFunctionDeclaration $declaration )

Méthodes protégées

Méthode Description
fullyQualify ( $type )

Private Methods

Méthode Description
resolveMagicConstants ( Pinq\Parsing\IFunctionDeclaration $declaration )
resolveMagicScopes ( Pinq\Parsing\IFunctionDeclaration $declaration )

Method Details

__construct() public méthode

public __construct ( callable $callable, ReflectionFunctionAbstract $innerReflection, Pinq\Parsing\IFunctionSignature $signature, Pinq\Parsing\IFunctionLocation $location, Pinq\Parsing\IFunctionScope $scope )
$callable callable
$innerReflection ReflectionFunctionAbstract
$signature Pinq\Parsing\IFunctionSignature
$location Pinq\Parsing\IFunctionLocation
$scope Pinq\Parsing\IFunctionScope

asEvaluationContext() public méthode

public asEvaluationContext ( array $variableTable = [] )
$variableTable array

fromCallable() public static méthode

Creates a new function reflection instance from the supplied callable.
public static fromCallable ( callable $callable ) : self
$callable callable
Résultat self

fullyQualify() protected méthode

protected fullyQualify ( $type )

getCallable() public méthode

public getCallable ( )

getGlobalHash() public méthode

public getGlobalHash ( )

getInnerReflection() public méthode

public getInnerReflection ( )

getScope() public méthode

public getScope ( )

resolveMagic() public méthode

public resolveMagic ( Pinq\Parsing\IFunctionDeclaration $declaration )
$declaration Pinq\Parsing\IFunctionDeclaration

Property Details

$callable protected_oe property

protected callable $callable
Résultat callable

$globalHash protected_oe property

protected string $globalHash
Résultat string

$innerReflection protected_oe property

protected ReflectionFunctionAbstract $innerReflection
Résultat ReflectionFunctionAbstract

$scope protected_oe property

protected IFunctionScope,Pinq\Parsing $scope
Résultat Pinq\Parsing\IFunctionScope