DmitryDulepov\Realurl\Decoder\UrlDecoder::mergeGetVarsFromDomainsConfiguration PHP Method

mergeGetVarsFromDomainsConfiguration() protected method

Merges $_GET from domains configuration.
    protected function mergeGetVarsFromDomainsConfiguration()
    {
        // Convert the configuration into an $_GET-"friendly" format
        $getVarsToSet = $this->makeRealPhpArrayFromRequestVars($this->configuration->getGetVarsToSet());
        if (count($getVarsToSet) > 0) {
            // Overwrite with $_GET-params that $_GET-parmas have a "higher" priority
            $getVars = GeneralUtility::_GET();
            if (!is_array($getVars)) {
                $getVars = array();
            }
            ArrayUtility::mergeRecursiveWithOverrule($getVars, $getVarsToSet, true, true, false);
            // Store the "new" $_GET-params back
            GeneralUtility::_GETset($getVars);
        }
    }