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

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

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

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

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

asEvaluationContext() публичный метод

Gets an evaluation context for the same context as the reflected function.
public asEvaluationContext ( array $variableTable = [] ) : Pinq\Expressions\IEvaluationContext
$variableTable array
Результат Pinq\Expressions\IEvaluationContext

getCallable() публичный метод

Gets the function callable.
public getCallable ( ) : callable
Результат callable

getGlobalHash() публичный метод

Gets a globally unique hash of the function based on its signature, location and class scope.
public getGlobalHash ( ) : string
Результат string

getInnerReflection() публичный метод

Gets the native function reflection.
public getInnerReflection ( ) : ReflectionFunctionAbstract
Результат ReflectionFunctionAbstract

getScope() публичный метод

Gets the scope of the function.
public getScope ( ) : Pinq\Parsing\IFunctionScope
Результат Pinq\Parsing\IFunctionScope

resolveMagic() публичный метод

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
Результат Pinq\Parsing\IFunctionMagic