Pinq\Queries\Functions\Parameters\ParameterBase::getUnusedParameterDefaultMap PHP Method

getUnusedParameterDefaultMap() public method

This is useful as it will introduce variables in the scope of the function that may be validly used.
public getUnusedParameterDefaultMap ( ) : Expression[]
return Pinq\Expressions\Expression[]
    public function getUnusedParameterDefaultMap()
    {
        return $this->unusedParameterDefaultMap;
    }

Usage Example

コード例 #1
0
ファイル: FunctionBase.php プロジェクト: timetoogo/pinq
 public final function __construct($callableId, $scopeType, $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null)
 {
     $this->parameters = $this->getParameterStructure($parameterExpressions);
     $this->bodyExpressions = $bodyExpressions;
     $this->evaluationContextFactory = new FunctionEvaluationContextFactory($namespace, $scopeType, $callableId, $parameterScopedVariableMap, $this->parameters->getUnusedParameterDefaultMap());
     $this->initialize();
 }