protected function setDefaultConfiguration($rawContent)
    {
        $resolvedContent = strtr($rawContent, $this->unresolveableReplacementPairs);

        $cacheFile = tempnam($this->cacheDir, 'tmp');

        $fh = fopen($cacheFile, 'w');

        fwrite($fh, $resolvedContent);

        fclose($fh);

        $this->defaultConfiguration = include($cacheFile);

        unlink($cacheFile);
    }
protected function setDefaultConfiguration($rawContent)
    {
        $resolvedContent = strtr($rawContent, $this->unresolveableReplacementPairs);

        $cacheFile = tempnam($this->cacheDir, 'tmp');

        $fh = fopen($cacheFile, 'w');

        fwrite($fh, $resolvedContent);

        fclose($fh);

        $this->defaultConfiguration = include($cacheFile);

        unlink($cacheFile);
    }
protected function setDefaultConfiguration ( $ rawContent ) { $ resolvedContent = strtr ( $ rawContent , $ this -> unresolveableReplacementPairs ) ; $ cacheFile = tempnam ( $ this -> cacheDir , 'tmp' ) ; $ fh = fopen ( $ cacheFile , 'w' ) ; fwrite ( $ fh , $ resolvedContent ) ; fclose ( $ fh ) ; $ this -> defaultConfiguration = include ( $ cacheFile ) ; unlink ( $ cacheFile ) ; }
modifies the given raw content by creating a temp file and resolving some TYPO3 CMS constants

@param string $rawContent
@return void
modifies the given raw content by creating a temp file and resolving some TYPO3 CMS constants