src/Core/Controller.php
public function render($template, array $data = [], $template_filter = Template::FILTER_ESCAPE, array $filters = [], Response $response = null, $template_path = null, $template_extension = 'tpl', $compress = false)
    {
        if (is_null($template_path)) {
            $template_path = $this->container['templates_path'];
        }
        $template = new Template($template_path, $template, $data, $template_filter, $filters, $response, $template_extension);
        return $template->render($compress);
    }
public function render($template, array $data = [], $template_filter = Template::FILTER_ESCAPE, array $filters = [], Response $response = null, $template_path = null, $template_extension = 'tpl', $compress = false)
    {
        if (is_null($template_path)) {
            $template_path = $this->container['templates_path'];
        }
        $template = new Template($template_path, $template, $data, $template_filter, $filters, $response, $template_extension);
        return $template->render($compress);
    }
TODO: $template_extension to config