Persists non-session cookies using a JSON formatted file
CloneableInstantiableIterable
- Extends
- Implements
Countable GuzzleHttp \Cookie \CookieJarInterface IteratorAggregate Traversable
| Methods |
| public __construct(string $cookieFile, bool $storeSessionCookies = false) Create a new FileCookieJar object
|
| public __destruct() Saves the file when shutting down |
| public load(string $filename) : void Load cookies from a JSON formatted file. Old cookies are kept unless overwritten by newly loaded ones.
|
| public save(string $filename) : void Saves the cookies to a file.
|
| Properties |
private $filename = NULL
|
private $storeSessionCookies = NULL
|
| Methods |