You are here

public function SessionCookieJar::__destruct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php \GuzzleHttp\Cookie\SessionCookieJar::__destruct()

Saves cookies to session when shutting down

File

vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php, line 33

Class

SessionCookieJar
Persists cookies in the client session

Namespace

GuzzleHttp\Cookie

Code

public function __destruct() {
  $this
    ->save();
}