public function toArguments(SplashRequestContext $context, array $parametersMap) : array
    {
        $arguments = [];
        foreach ($parametersMap as $parameter) {
            $fetcherid = $parameter['fetcherId'];
            $data = $parameter['data'];
            $arguments[] = $this->parameterFetchers[$fetcherid]->fetchValue($data, $context);
        }

        return $arguments;
    }
public function toArguments(SplashRequestContext $context, array $parametersMap) : array
    {
        $arguments = [];
        foreach ($parametersMap as $parameter) {
            $fetcherid = $parameter['fetcherId'];
            $data = $parameter['data'];
            $arguments[] = $this->parameterFetchers[$fetcherid]->fetchValue($data, $context);
        }

        return $arguments;
    }
public function toArguments ( SplashRequestContext $ context , array $ parametersMap ) : array { $ arguments = [ ] ; foreach ( $ parametersMap as $ parameter ) { $ fetcherid = $ parameter [ 'fetcherId' ] ; $ data = $ parameter [ 'data' ] ; $ arguments [ ] = $ this -> parameterFetchers [ $ fetcherid ] -> fetchValue ( $ data , $ context ) ; } return $ arguments ; }
Maps data returned by mapParameters to real arguments to be passed to the action.

@param SplashRequestContext $context
@param array                $parametersMap

@return array
Maps data returned by mapParameters to real arguments to be passed to the action .