/**
  * Add values to the cookiejar
  */
 public static function addCookies(CookieJarInterface $jar)
 {
     $jar->save(array('cookie' => array('foo', 'bar'), 'domain' => 'example.com', 'path' => '/', 'max_age' => '86400', 'port' => array(80, 8080), 'version' => '1', 'secure' => true))->save(array('cookie' => array('baz', 'foobar'), 'domain' => 'example.com', 'path' => '/', 'max_age' => '86400', 'port' => array(80, 8080), 'version' => '1', 'secure' => true))->save(array('cookie' => array('test', '123'), 'domain' => 'www.foobar.com', 'path' => '/path/', 'discard' => true))->save(array('domain' => '.y.example.com', 'path' => '/acme/', 'cookie' => array('muppet', 'cookie_monster'), 'comment' => 'Comment goes here...', 'expires' => Guzzle::getHttpDate('+1 day')))->save(array('domain' => '.example.com', 'path' => '/test/acme/', 'cookie' => array('googoo', 'gaga'), 'max_age' => 1500, 'version' => 2));
 }
 /**
  * Discard all temporary cookies.
  *
  * Scans for all cookies in the storage with either no expire field or a
  * true discard flag. To be called when the user agent shuts down according
  * to RFC 2965.
  *
  * @return int Returns the number of deleted cookies
  */
 public function clearTemporaryCookies()
 {
     return $this->jar->clearTemporary();
 }