private function getHash(Cookie $cookie): string
    {
        return sha1(sprintf(
            '%s|%s|%s',
            $cookie->getName(),
            $cookie->getAttribute(Cookie::ATTR_DOMAIN),
            $cookie->getAttribute(Cookie::ATTR_PATH)
        ));
    }
private function getHash(Cookie $cookie): string
    {
        return sha1(sprintf(
            '%s|%s|%s',
            $cookie->getName(),
            $cookie->getAttribute(Cookie::ATTR_DOMAIN),
            $cookie->getAttribute(Cookie::ATTR_PATH)
        ));
    }
private function getHash ( Cookie $ cookie ) : string { return sha1 ( sprintf ( '%s|%s|%s' , $ cookie -> getName ( ) , $ cookie -> getAttribute ( Cookie :: ATTR_DOMAIN ) , $ cookie -> getAttribute ( Cookie :: ATTR_PATH ) ) ) ; }
Create an unique identifier for the cookie. Two cookies with the same identifier
may have different values.
Create an unique identifier for the cookie . Two cookies with the same identifier may have different values .