Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • Cookie
  • CookiePlugin
  • Overview
  • Namespace
  • Class
  • Tree

Class CookiePlugin

Adds, extracts, and persists cookies between HTTP requests

Guzzle\Plugin\Cookie\CookiePlugin implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Namespace: Guzzle\Plugin\Cookie
Located at src/Guzzle/Plugin/Cookie/CookiePlugin.php
Methods summary
public
# __construct( Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface $cookieJar = null )

Parameters

$cookieJar
Cookie jar used to hold cookies. Creates an ArrayCookieJar by default.
public static
# getSubscribedEvents( )
public Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface
# getCookieJar( )

Get the cookie cookieJar

Get the cookie cookieJar

Returns

Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface
public
# onRequestBeforeSend( Guzzle\Common\Event $event )

Add cookies before a request is sent

Add cookies before a request is sent

Parameters

$event
public
# onRequestSent( Guzzle\Common\Event $event )

Extract cookies from a sent request

Extract cookies from a sent request

Parameters

$event
Properties summary
protected Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface $cookieJar

Cookie cookieJar used to hold cookies

Cookie cookieJar used to hold cookies

#
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen