public function html($content = null, $status = 200) {
        $r = new Response($content, $status);
        $r->headers->set('Content-Type', 'text/html; charset=utf-8');
        $r->setCharset('UTF-8');
        return $r;
    }
public function html($content = null, $status = 200) {
        $r = new Response($content, $status);
        $r->headers->set('Content-Type', 'text/html; charset=utf-8');
        $r->setCharset('UTF-8');
        return $r;
    }
public function html ( $ content = null , $ status = 200 ) { $ r = new Response ( $ content , $ status ) ; $ r -> headers -> set ( 'Content-Type' , 'text/html; charset=utf-8' ) ; $ r -> setCharset ( 'UTF-8' ) ; return $ r ; }
Create a HTML response
@param mixed $content Content to be sent
@param int $status HTTP response code
@return \Symfony\Component\HttpFoundation\Response
Create a HTML response