Neos\Fusion\View\FusionView::renderTypoScript PHP Method

renderTypoScript() protected method

Render the given TypoScript and return the rendered page
protected renderTypoScript ( ) : string
return string
    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;
    }