comparison vendor/symfony/browser-kit/CookieJar.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children 5fb285c0d0e3
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
18 */ 18 */
19 class CookieJar 19 class CookieJar
20 { 20 {
21 protected $cookieJar = array(); 21 protected $cookieJar = array();
22 22
23 /**
24 * Sets a cookie.
25 *
26 * @param Cookie $cookie A Cookie instance
27 */
28 public function set(Cookie $cookie) 23 public function set(Cookie $cookie)
29 { 24 {
30 $this->cookieJar[$cookie->getDomain()][$cookie->getPath()][$cookie->getName()] = $cookie; 25 $this->cookieJar[$cookie->getDomain()][$cookie->getPath()][$cookie->getName()] = $cookie;
31 } 26 }
32 27