Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($cookieFile, $storeSessionCookies=false) | |
__destruct () | |
load ($filename) | |
save ($filename) | |
![]() | |
clear ($domain=null, $path=null, $name=null) | |
clearSessionCookies () | |
count () | |
extractCookies (RequestInterface $request, ResponseInterface $response) | |
getCookieByName ($name) | |
getIterator () | |
setCookie (SetCookie $cookie) | |
toArray () | |
withCookieHeader (RequestInterface $request) | |
Additional Inherited Members | |
![]() | |
static | fromArray (array $cookies, $domain) |
static | getCookieValue ($value) |
static | shouldPersist (SetCookie $cookie, $allowSessionCookies=false) |
Persists non-session cookies using a JSON formatted file
Definition at line 7 of file vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php.
GuzzleHttp\Cookie\FileCookieJar::__construct | ( | $cookieFile, | |
$storeSessionCookies = false |
|||
) |
Create a new FileCookieJar object
string | $cookieFile | File to store the cookie data |
bool | $storeSessionCookies | Set to true to store session cookies in the cookie jar. |
Reimplemented from GuzzleHttp\Cookie\CookieJar.
Definition at line 30 of file vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php.
References GuzzleHttp\Cookie\FileCookieJar\load().
GuzzleHttp\Cookie\FileCookieJar::__destruct | ( | ) |
Saves the file when shutting down
Definition at line 44 of file vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php.
References GuzzleHttp\Cookie\FileCookieJar\save().
GuzzleHttp\Cookie\FileCookieJar::load | ( | $filename | ) |
Load cookies from a JSON formatted file.
Old cookies are kept unless overwritten by newly loaded ones.
string | $filename | Cookie file to load. |
Definition at line 79 of file vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php.
References GuzzleHttp\json_decode(), and GuzzleHttp\Cookie\CookieJar\setCookie().
Referenced by GuzzleHttp\Cookie\FileCookieJar\__construct().
GuzzleHttp\Cookie\FileCookieJar::save | ( | $filename | ) |
Saves the cookies to a file.
string | $filename | File to save |
Definition at line 55 of file vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php.
References GuzzleHttp\Cookie\CookieJar\shouldPersist().
Referenced by GuzzleHttp\Cookie\FileCookieJar\__destruct().