static public function redirect($routeFrom, $routeTo, $http_response_code = 302)
    {
        $closure = function($routeTo, $replace, $http_response_code) {
            Response::$redirectHeader = [$routeTo, $replace, $http_response_code];
        };
        self::$instance->register('GET', $routeFrom, $closure, null, [$routeTo, true, $http_response_code]);
    }
static public function redirect($routeFrom, $routeTo, $http_response_code = 302)
    {
        $closure = function($routeTo, $replace, $http_response_code) {
            Response::$redirectHeader = [$routeTo, $replace, $http_response_code];
        };
        self::$instance->register('GET', $routeFrom, $closure, null, [$routeTo, true, $http_response_code]);
    }
static public function redirect ( $ routeFrom , $ routeTo , $ http_response_code = 302 ) { $ closure = function ( $ routeTo , $ replace , $ http_response_code ) { Response :: $ redirectHeader = [ $ routeTo , $ replace , $ http_response_code ] ; } ; self :: $ instance -> register ( 'GET' , $ routeFrom , $ closure , null , [ $ routeTo , true , $ http_response_code ] ) ; }
Registered redirect routes.

@param  string  $routeFrom
@param  string  $routeTo
@param  int     $http_response_code
@return void
Registered redirect routes .