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