public function render($viewName, $data = array()) {
		try {
			return $this->twig->render($viewName, $data);
		}
		catch (\Twig_Error_Loader $e) {
			throw new TemplateNotFoundError($e->getMessage());
		}
		catch (\Twig_Error_Syntax $e) {
			throw new TemplateSyntaxError($e->getMessage(), 0, $e);
		}
	}
public function render($viewName, $data = array()) {
		try {
			return $this->twig->render($viewName, $data);
		}
		catch (\Twig_Error_Loader $e) {
			throw new TemplateNotFoundError($e->getMessage());
		}
		catch (\Twig_Error_Syntax $e) {
			throw new TemplateSyntaxError($e->getMessage(), 0, $e);
		}
	}
public function render ( $ viewName , $ data = array ( ) ) { try { return $ this -> twig -> render ( $ viewName , $ data ) ; } catch ( \ Twig_Error_Loader $ e ) { throw new TemplateNotFoundError ( $ e -> getMessage ( ) ) ; } catch ( \ Twig_Error_Syntax $ e ) { throw new TemplateSyntaxError ( $ e -> getMessage ( ) , 0 , $ e ) ; } }
Renders the template with the specified name

Optionally, you can provide an array of data that the template will receive

@param string $viewName the name of the template to render
@param array $data (optional) the data to send to the template
@return string the rendered template (usually HTML)
Renders the template with the specified name