You are here

public function CookieJar::clear in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/browser-kit/CookieJar.php \Symfony\Component\BrowserKit\CookieJar::clear()
  2. 8 vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php \GuzzleHttp\Cookie\CookieJar::clear()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/CookieJar.php \Symfony\Component\BrowserKit\CookieJar::clear()

Removes all the cookies from the jar.

File

vendor/symfony/browser-kit/CookieJar.php, line 122

Class

CookieJar
CookieJar.

Namespace

Symfony\Component\BrowserKit

Code

public function clear() {
  $this->cookieJar = array();
}