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

decodeUrl() public method

Decodes the URL. This function is called from \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::checkAlternativeIdMethods()
public decodeUrl ( array $params ) : void
$params array
return void
    public function decodeUrl(array $params)
    {
        if ($this->canDecoderExecute()) {
            $this->caller = $params['pObj'];
            $this->initialize();
            $this->mergeGetVarsFromDomainsConfiguration();
            if ($this->isSpeakingUrl()) {
                $this->configuration->validate();
                $this->setSpeakingUriFromSiteScript();
                $this->callPreDecodeHooks($params);
                $this->checkMissingSlash();
                if ($this->speakingUri) {
                    $this->setLanguageFromQueryString();
                    $this->runDecoding();
                }
            }
        }
    }