src/Core/Template.php
public function render($compress = false)
    {
        if (is_null($this->response)) {
            $this->response = new Response();
        }

        $content = $this->renderTemplate();
        if ($compress) {
            $content = $this->compressHTML($content);
        }

        $this->response->setContent($content);
        return $this->response;
    }
public function render($compress = false)
    {
        if (is_null($this->response)) {
            $this->response = new Response();
        }

        $content = $this->renderTemplate();
        if ($compress) {
            $content = $this->compressHTML($content);
        }

        $this->response->setContent($content);
        return $this->response;
    }
@param bool $compress

@return Response