Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • 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
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

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

Interfaces

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

Interface CacheStorageInterface

Interface used to cache HTTP requests

Direct known implementers

Guzzle\Plugin\Cache\DefaultCacheStorage
Namespace: Guzzle\Plugin\Cache
Located at Guzzle/Plugin/Cache/CacheStorageInterface.php
Methods summary
public
# cache( string $key, Guzzle\Http\Message\Response $response, integer $ttl = null )

Cache an HTTP request

Cache an HTTP request

Parameters

$key
string
$key Cache key
$response
Guzzle\Http\Message\Response
$response Response to cache
$ttl
integer
$ttl Amount of time to cache the response
public
# delete( string $key )

Delete an item from the cache

Delete an item from the cache

Parameters

$key
string
$key Cache key
public null|Guzzle\Http\Message\Response
# fetch( string $key )

Get a Response from the cache

Get a Response from the cache

Parameters

$key
string
$key Cache key

Returns

null|Guzzle\Http\Message\Response
php-coveralls API documentation generated by ApiGen 2.8.0