Ejemplo n.º 1
0
 public function clearCookies()
 {
     $this->cookieJar->clearAll();
     return $this->withCookieParams($this->cookieJar->all());
 }
Ejemplo n.º 2
0
 public function testCanClearAllCookies()
 {
     $cookies = $this->cookies();
     $cookieJar = new CookieJar($cookies);
     $cookieJar->clearAll();
     $this->assertSame([], $cookieJar->all());
 }