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

  • CachePlugin
  • CallbackCanCacheStrategy
  • DefaultCacheKeyProvider
  • DefaultCacheStorage
  • DefaultCanCacheStrategy
  • DefaultRevalidation
  • DenyRevalidation
  • SkipRevalidation

Interfaces

  • CacheKeyProviderInterface
  • CacheStorageInterface
  • CanCacheStrategyInterface
  • RevalidationInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface CacheStorageInterface

Interface used to cache HTTP requests

Direct known implementers

Guzzle\Plugin\Cache\DefaultCacheStorage
Namespace: Guzzle\Plugin\Cache
Located at src/Guzzle/Plugin/Cache/CacheStorageInterface.php
Methods summary
public null|Guzzle\Http\Message\Response
# fetch( Guzzle\Http\Message\RequestInterface $request )

Get a Response from the cache for a request

Get a Response from the cache for a request

Parameters

$request

Returns

null|Guzzle\Http\Message\Response
public
# cache( Guzzle\Http\Message\RequestInterface $request, Guzzle\Http\Message\Response $response )

Cache an HTTP request

Cache an HTTP request

Parameters

$request
Request being cached
$response
Response to cache
public
# delete( Guzzle\Http\Message\RequestInterface $request )

Deletes cache entries that match a request

Deletes cache entries that match a request

Parameters

$request
Request to delete from cache
public
# purge( string $url )

Purge all cache entries for a given URL

Purge all cache entries for a given URL

Parameters

$url
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen