Overview

Namespaces

  • Docta
    • MercadoLibre
      • Exception
      • OAuth2
        • Client
          • Test
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
      • Test
      • Tests
    • Psr7
    • Test
      • Handler
    • Tests
      • CookieJar
      • Event
      • Exception
      • Handler
      • Promise
      • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Test
          • Grant
          • Provider
            • Exception
            • Fake
          • Token
          • Tool
        • Token
        • Tool
  • None
  • Psr
    • Http
      • Message

Classes

  • CookieJar
  • FileCookieJar
  • SessionCookieJar
  • SetCookie

Interfaces

  • CookieJarInterface
  • Overview
  • Namespace
  • Class
  • Download

Class SessionCookieJar

Persists cookies in the client session

GuzzleHttp\Cookie\CookieJar implements GuzzleHttp\Cookie\CookieJarInterface
Extended by GuzzleHttp\Cookie\SessionCookieJar
Namespace: GuzzleHttp\Cookie
Located at src/Cookie/SessionCookieJar.php
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

GuzzleHttp\Cookie\CookieJar::__construct()
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()
MercadoLibre PHP SDK API documentation generated by ApiGen