MatthiasMullie\Minify\Minify::restoreExtractedData PHP Method

restoreExtractedData() protected method

This method will restore all extracted data (strings, regexes) that were replaced with placeholder text in extract*(). The original content was saved in $this->extracted.
protected restoreExtractedData ( string $content ) : string
$content string
return string
    protected function restoreExtractedData($content)
    {
        if (!$this->extracted) {
            // nothing was extracted, nothing to restore
            return $content;
        }
        $content = strtr($content, $this->extracted);
        $this->extracted = array();
        return $content;
    }