protected function renderTypoScript()
{
$this->typoScriptRuntime->pushContextArray($this->variables);
try {
$output = $this->typoScriptRuntime->render($this->getTypoScriptPathForCurrentRequest());
} catch (RuntimeException $exception) {
throw $exception->getPrevious();
}
$this->typoScriptRuntime->popContext();
return $output;
}