public function performRedirect(RedirectContainer $container)
    {
        $path = $container->getRedirectpath();
        $request = $container->getRequest();
        $request->flash();
        if ($container->shouldIncludeQuery()) {
            $path .= $this->getQueryStringFromRequest($request);
        }
        if ($container->shouldForceSSL()) {
            return redirect()->secure($path);
        } else {
            return redirect($path);
        }
    }