main/core/Controller/HomeController.php
public function render($template, $variables, $default = false)
    {
        if ($default) {
            $template = $this->homeService->defaultTemplate($template);
        }

        return new Response($this->templating->render($template, $variables));
    }
public function render($template, $variables, $default = false)
    {
        if ($default) {
            $template = $this->homeService->defaultTemplate($template);
        }

        return new Response($this->templating->render($template, $variables));
    }
public function render ( $ template , $ variables , $ default = false ) { if ( $ default ) { $ template = $ this -> homeService -> defaultTemplate ( $ template ) ; } return new Response ( $ this -> templating -> render ( $ template , $ variables ) ) ; }
Extends templating render.

@param string $template
@param array  $variables
@param bool   $default

@return Response
Extends templating render .