public function addCookie(Cookie $cookie): void
    {
        $this->cookies[$this->getHash($cookie)] = $cookie;
    }
public function addCookie(Cookie $cookie): void
    {
        $this->cookies[$this->getHash($cookie)] = $cookie;
    }
public function addCookie ( Cookie $ cookie ) : void { $ this -> cookies [ $ this -> getHash ( $ cookie ) ] = $ cookie ; }
Adds a cookie to the current cookie jar.
Adds a cookie to the current cookie jar .