PHP Класс Pinq\Queries\Functions\FunctionEvaluationContextFactory

Contains the necessary data to build an evaluation context of the original function.
Автор: Elliot Levin ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$callableId string
$namespace string | null
$parameterScopedVariableMap Array containing the scoped variable names of the function indexed by their respective parameter names.
$scopeType string | null
$unusedParameterDefaultMap Pinq\Expressions\IEvaluator[] Array of the unused parameter's default value expression indexed by their parameter name.

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

Метод Описание
__construct ( $namespace, $scopeType, $callableId, array $parameterScopedVariableMap, array $unusedParameterDefaultExpressionMap )
getCallableId ( ) : string
getEvaluationContext ( Pinq\Queries\IResolvedParameterRegistry $parameters = null ) : Pinq\Expressions\IEvaluationContext Gets an evaluation context for function with the resolved parameters.
getNamespace ( ) : string | null
getParameterScopedVariableMap ( ) : array
getScopeType ( ) : string | null
hasNamespace ( ) : boolean
hasScopeType ( ) : boolean

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

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

public __construct ( $namespace, $scopeType, $callableId, array $parameterScopedVariableMap, array $unusedParameterDefaultExpressionMap )
$parameterScopedVariableMap array
$unusedParameterDefaultExpressionMap array

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

public getCallableId ( ) : string
Результат string

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

Gets an evaluation context for function with the resolved parameters.
public getEvaluationContext ( Pinq\Queries\IResolvedParameterRegistry $parameters = null ) : Pinq\Expressions\IEvaluationContext
$parameters Pinq\Queries\IResolvedParameterRegistry
Результат Pinq\Expressions\IEvaluationContext

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

public getNamespace ( ) : string | null
Результат string | null

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

public getParameterScopedVariableMap ( ) : array
Результат array

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

public getScopeType ( ) : string | null
Результат string | null

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

public hasNamespace ( ) : boolean
Результат boolean

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

public hasScopeType ( ) : boolean
Результат boolean

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

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

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

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

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

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

Array containing the scoped variable names of the function indexed by their respective parameter names.
protected $parameterScopedVariableMap

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

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

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

Array of the unused parameter's default value expression indexed by their parameter name.
protected IEvaluator[],Pinq\Expressions $unusedParameterDefaultMap
Результат Pinq\Expressions\IEvaluator[]