protected function render($templates, array $data = array())
    {
        $content = $this->view->render($templates, $data);
        $response = new Response();
        $response->setContent($content);

        return $response;
    }
protected function render($templates, array $data = array())
    {
        $content = $this->view->render($templates, $data);
        $response = new Response();
        $response->setContent($content);

        return $response;
    }
protected function render ( $ templates , array $ data = array ( ) ) { $ content = $ this -> view -> render ( $ templates , $ data ) ; $ response = new Response ( ) ; $ response -> setContent ( $ content ) ; return $ response ; }
Render template and get Response

@param string|array $templates Path to template or array of paths to template and layouts
@param array        $data      Data for templates

@return \Shade\Response
Render template and get Response