public function redirect($url = null, $status = 302) {
        $r = new RedirectResponse($url, $status);
        $r->setCharset('UTF-8');
        return $r;
    }
public function redirect($url = null, $status = 302) {
        $r = new RedirectResponse($url, $status);
        $r->setCharset('UTF-8');
        return $r;
    }
public function redirect ( $ url = null , $ status = 302 ) { $ r = new RedirectResponse ( $ url , $ status ) ; $ r -> setCharset ( 'UTF-8' ) ; return $ r ; }
Create a REDIRECT response
@param string $url URL to redirect
@param int $status HTTP response code
@return \Symfony\Component\HttpFoundation\RedirectResponse
Create a REDIRECT response