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

Class CallbackCacheKeyProvider

Determines a request's cache key using a callback

Guzzle\Plugin\Cache\CallbackCacheKeyProvider implements Guzzle\Plugin\Cache\CacheKeyProviderInterface
Namespace: Guzzle\Plugin\Cache
Located at Guzzle/Plugin/Cache/CallbackCacheKeyProvider.php
Methods summary
public
# __construct( Closure|array|mixed $callback )

Parameters

$callback
Closure|array|mixed
$callback Callable method to invoke

Throws

Guzzle\Common\Exception\InvalidArgumentException
public string
# getCacheKey( Guzzle\Http\Message\RequestInterface $request )

Returns a cache key for a request object

Returns a cache key for a request object

Parameters

$request
Guzzle\Http\Message\RequestInterface
$request Request to generate a cache key for

Returns

string

Implementation of

Guzzle\Plugin\Cache\CacheKeyProviderInterface::getCacheKey()
Properties summary
protected Closure|array|mixed $callback
#

Callable method

Callable method

php-coveralls API documentation generated by ApiGen 2.8.0