private function destroyRememberMeCookie(Request $req, Response $res)
    {
        $cookie = $this->getRememberMeCookie($req);
        if ($cookie) {
            $cookie->destroy();
        }

        $sessionCookie = session_get_cookie_params();
        $res->setCookie($this->rememberMeCookieName(),
            '',
            time() - 86400,
            $sessionCookie['path'],
            $sessionCookie['domain'],
            $sessionCookie['secure'],
            true);

        return $this;
    }
private function destroyRememberMeCookie(Request $req, Response $res)
    {
        $cookie = $this->getRememberMeCookie($req);
        if ($cookie) {
            $cookie->destroy();
        }

        $sessionCookie = session_get_cookie_params();
        $res->setCookie($this->rememberMeCookieName(),
            '',
            time() - 86400,
            $sessionCookie['path'],
            $sessionCookie['domain'],
            $sessionCookie['secure'],
            true);

        return $this;
    }
private function destroyRememberMeCookie ( Request $ req , Response $ res ) { $ cookie = $ this -> getRememberMeCookie ( $ req ) ; if ( $ cookie ) { $ cookie -> destroy ( ) ; } $ sessionCookie = session_get_cookie_params ( ) ; $ res -> setCookie ( $ this -> rememberMeCookieName ( ) , '' , time ( ) - 86400 , $ sessionCookie [ 'path' ] , $ sessionCookie [ 'domain' ] , $ sessionCookie [ 'secure' ] , true ) ; return $ this ; }
Destroys the remember me cookie.

@param Request $req
@param Response $res

@return self
Destroys the remember me cookie .