public function render($view, array $parameters = array(), $flag = false)
    {
        $content = $this->get('kernel.dispatch')->dispatch('handle.tpl')->render($view, $parameters);
        
        return $flag ? $content : $this->responseHtml($content);
    }
public function render($view, array $parameters = array(), $flag = false)
    {
        $content = $this->get('kernel.dispatch')->dispatch('handle.tpl')->render($view, $parameters);
        
        return $flag ? $content : $this->responseHtml($content);
    }
public function render ( $ view , array $ parameters = array ( ) , $ flag = false ) { $ content = $ this -> get ( 'kernel.dispatch' ) -> dispatch ( 'handle.tpl' ) -> render ( $ view , $ parameters ) ; return $ flag ? $ content : $ this -> responseHtml ( $ content ) ; }
Render template to html or return content.

@param            $view
@param array      $parameters
@param bool|false $flag
@return Response|string
Render template to html or return content .