private function getFluidStandaloneViewWithTemplate($templatePath = '')
    {
        $standaloneView = GeneralUtility::makeInstance(StandaloneView::class);
        $standaloneView->setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName($templatePath));

        return $standaloneView;
    }
private function getFluidStandaloneViewWithTemplate($templatePath = '')
    {
        $standaloneView = GeneralUtility::makeInstance(StandaloneView::class);
        $standaloneView->setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName($templatePath));

        return $standaloneView;
    }
private function getFluidStandaloneViewWithTemplate ( $ templatePath = '' ) { $ standaloneView = GeneralUtility :: makeInstance ( StandaloneView :: class ) ; $ standaloneView -> setTemplatePathAndFilename ( GeneralUtility :: getFileAbsFileName ( $ templatePath ) ) ; return $ standaloneView ; }
Initializes a StandaloneView with a template and returns it.

@param string $templatePath
@return StandaloneView
Initializes a StandaloneView with a template and returns it .