PHP Interface Pinq\Parsing\IFunctionReflection

Author: Elliot Levin ([email protected])
Inheritance: extends Pinq\Parsing\ILocatedFunction
Afficher le fichier Open project: timetoogo/pinq Interface Usage Examples

Méthodes publiques

Méthode Description
asEvaluationContext ( array $variableTable = [] ) : Pinq\Expressions\IEvaluationContext Gets an evaluation context for the same context as the reflected function.
getCallable ( ) : callable Gets the function callable.
getGlobalHash ( ) : string Gets a globally unique hash of the function based on its signature, location and class scope.
getInnerReflection ( ) : ReflectionFunctionAbstract Gets the native function reflection.
getScope ( ) : Pinq\Parsing\IFunctionScope Gets the scope of the function.
resolveMagic ( Pinq\Parsing\IFunctionDeclaration $functionDeclaration ) : Pinq\Parsing\IFunctionMagic Gets the resolved magic constants/scopes of the function from the supplied declaration structure.

Method Details

asEvaluationContext() public méthode

Gets an evaluation context for the same context as the reflected function.
public asEvaluationContext ( array $variableTable = [] ) : Pinq\Expressions\IEvaluationContext
$variableTable array
Résultat Pinq\Expressions\IEvaluationContext

getCallable() public méthode

Gets the function callable.
public getCallable ( ) : callable
Résultat callable

getGlobalHash() public méthode

Gets a globally unique hash of the function based on its signature, location and class scope.
public getGlobalHash ( ) : string
Résultat string

getInnerReflection() public méthode

Gets the native function reflection.
public getInnerReflection ( ) : ReflectionFunctionAbstract
Résultat ReflectionFunctionAbstract

getScope() public méthode

Gets the scope of the function.
public getScope ( ) : Pinq\Parsing\IFunctionScope
Résultat Pinq\Parsing\IFunctionScope

resolveMagic() public méthode

Gets the resolved magic constants/scopes of the function from the supplied declaration structure.
public resolveMagic ( Pinq\Parsing\IFunctionDeclaration $functionDeclaration ) : Pinq\Parsing\IFunctionMagic
$functionDeclaration Pinq\Parsing\IFunctionDeclaration
Résultat Pinq\Parsing\IFunctionMagic