protected function getTypoScriptRuntime(NodeInterface $currentSiteNode)
{
if ($this->typoScriptRuntime === null) {
$this->typoScriptRuntime = $this->typoScriptService->createRuntime($currentSiteNode, $this->controllerContext);
if (isset($this->options['enableContentCache']) && $this->options['enableContentCache'] !== null) {
$this->typoScriptRuntime->setEnableContentCache($this->options['enableContentCache']);
}
}
return $this->typoScriptRuntime;
}