Class SessionCookieJar
Persists cookies in the client session
-
GuzzleHttp\Cookie\CookieJar
implements
GuzzleHttp\Cookie\CookieJarInterface
-
GuzzleHttp\Cookie\SessionCookieJar
Methods summary
public
|
#
__construct( string $sessionKey, boolean $storeSessionCookies = false )
Create a new SessionCookieJar object
Create a new SessionCookieJar object
Parameters
- $sessionKey
Session key name to store the cookie
data in session
- $storeSessionCookies
Set to true to store session cookies
in the cookie jar.
Overrides
|
public
|
#
__destruct( )
Saves cookies to session when shutting down
Saves cookies to session when shutting down
|
public
|
#
save( )
Save cookies to the client session
Save cookies to the client session
|
protected
|
#
load( )
Load the contents of the client session into the data array
Load the contents of the client session into the data array
|
Methods inherited from GuzzleHttp\Cookie\CookieJar
clear(),
clearSessionCookies(),
count(),
extractCookies(),
fromArray(),
getCookieByName(),
getCookieValue(),
getIterator(),
setCookie(),
shouldPersist(),
toArray(),
withCookieHeader()
|