protected function render(string $name, array $variables = []): string
    {
        $templateEngine = $this->getApp()->getService('templating');

        return $templateEngine->render($name, $variables);
    }
protected function render(string $name, array $variables = []): string
    {
        $templateEngine = $this->getApp()->getService('templating');

        return $templateEngine->render($name, $variables);
    }
protected function render ( string $ name , array $ variables = [ ] ) : string { $ templateEngine = $ this -> getApp ( ) -> getService ( 'templating' ) ; return $ templateEngine -> render ( $ name , $ variables ) ; }
Do render of templates.

@param string  $name      Filename of template
@param mixed[] $variables Variables for template

@return string Output content
@throws \Berlioz\Core\Exception\RuntimeException if application not accessible
@see \Berlioz\Core\Services\Template\TemplateInterface
Do render of templates .