You are here

public function FileCookieJar::__destruct in Auth0 Single Sign On 8.2

Saves the file when shutting down

File

vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php, line 38

Class

FileCookieJar
Persists non-session cookies using a JSON formatted file

Namespace

GuzzleHttp\Cookie

Code

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