core-bundle/src/Resources/contao/library/Contao/Template.php
public function getResponse()
	{
		$this->compile();

		$response = new Response($this->strBuffer);
		$response->headers->set('Content-Type', $this->strContentType . '; charset=' . Config::get('characterSet'));

		return $response;
	}
public function getResponse()
	{
		$this->compile();

		$response = new Response($this->strBuffer);
		$response->headers->set('Content-Type', $this->strContentType . '; charset=' . Config::get('characterSet'));

		return $response;
	}
public function getResponse ( ) { $ this -> compile ( ) ; $ response = new Response ( $ this -> strBuffer ) ; $ response -> headers -> set ( 'Content-Type' , $ this -> strContentType . '; charset=' . Config :: get ( 'characterSet' ) ) ; return $ response ; }
Return a response object

@return Response The response object
Return a response object