Pinq\Tests\Integration\Queries\Functions\FunctionTest::buildFunction PHP Method

buildFunction() protected method

protected buildFunction ( string $callableParameter, string $scopeType = null, string $namespace = null, array $parameterScopedVariableMap = [], array $parameterExpressions = [], array $bodyExpressions = null ) : Pinq\Queries\Functions\IFunction
$callableParameter string
$scopeType string
$namespace string
$parameterScopedVariableMap array
$parameterExpressions array
$bodyExpressions array
return Pinq\Queries\Functions\IFunction
    protected function buildFunction($callableParameter, $scopeType = null, $namespace = null, array $parameterScopedVariableMap = [], array $parameterExpressions = [], array $bodyExpressions = null)
    {
        $factory = $this->functionFactory();
        return $factory($callableParameter, $scopeType, $namespace, $parameterScopedVariableMap, $parameterExpressions, $bodyExpressions);
    }