public function initializeTypoScriptRuntime()
{
if ($this->typoScriptRuntime === null) {
$this->loadTypoScript();
$this->typoScriptRuntime = new Runtime($this->parsedTypoScript, $this->controllerContext);
}
if (isset($this->options['debugMode'])) {
$this->typoScriptRuntime->setDebugMode($this->options['debugMode']);
}
if (isset($this->options['enableContentCache'])) {
$this->typoScriptRuntime->setEnableContentCache($this->options['enableContentCache']);
}
}