public function output($view, array $data = null)
	{
		$response = new Response($this->render($view, $data), Response::HTTP_OK, ['Content-Type' => 'text/html']);
		$response->send();
	}
public function output($view, array $data = null)
	{
		$response = new Response($this->render($view, $data), Response::HTTP_OK, ['Content-Type' => 'text/html']);
		$response->send();
	}
public function output ( $ view , array $ data = null ) { $ response = new Response ( $ this -> render ( $ view , $ data ) , Response :: HTTP_OK , [ 'Content-Type' => 'text/html' ] ) ; $ response -> send ( ) ; }
Output the content instead of just render.
@param $view
@param array $data
Output the content instead of just render .