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

runDecoding() protected method

Contains the actual decoding logic after $this->speakingUri is set.
protected runDecoding ( ) : void
return void
    protected function runDecoding()
    {
        $urlPath = $this->getUrlPath();
        $cacheEntry = $this->getFromUrlCache($this->speakingUri);
        if (!$cacheEntry) {
            $this->originalPath = $urlPath;
            $cacheEntry = $this->doDecoding($urlPath);
            // Note the newly created cache entry is not saved because it is unsafe!
            // The user can suppy any number of free form parameters and those
            // can get to the cache. On the other hand we cannot store URLs
            // without parameters because those can be fully legal and entries
            // without parameters will be useless.
        }
        $this->checkExpiration($cacheEntry);
        $this->setRequestVariables($cacheEntry);
    }