public function SessionCookieJar::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php \GuzzleHttp\Cookie\SessionCookieJar::__construct()
Create a new SessionCookieJar object
Parameters
string $sessionKey Session key name to store the cookie : data in session
bool $storeSessionCookies Set to true to store session cookies: in the cookie jar.
Overrides CookieJar::__construct
File
- vendor/
guzzlehttp/ guzzle/ src/ Cookie/ SessionCookieJar.php, line 23
Class
- SessionCookieJar
- Persists cookies in the client session
Namespace
GuzzleHttp\CookieCode
public function __construct($sessionKey, $storeSessionCookies = false) {
$this->sessionKey = $sessionKey;
$this->storeSessionCookies = $storeSessionCookies;
$this
->load();
}