public static function redirect($url, $status = 302, $headers = array())
    {
        $redirect = new RedirectResponse($url, $status, $headers);
        $redirect->sendHeaders();
        die();
    }
public static function redirect($url, $status = 302, $headers = array())
    {
        $redirect = new RedirectResponse($url, $status, $headers);
        $redirect->sendHeaders();
        die();
    }
public static function redirect ( $ url , $ status = 302 , $ headers = array ( ) ) { $ redirect = new RedirectResponse ( $ url , $ status , $ headers ) ; $ redirect -> sendHeaders ( ) ; die ( ) ; }
Redirect Response.

@param string $url
@param int    $status
@param array  $headers
Redirect Response .