Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy Class Reference
Inheritance diagram for Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy:
Kevinrob\GuzzleCache\Strategy\CacheStrategyInterface

Public Member Functions

 __construct (CacheStrategyInterface $defaultCacheStrategy=null)
 DelegatingCacheStrategy constructor.
 
 cache (RequestInterface $request, ResponseInterface $response)
 @inheritDoc
 
 delete (RequestInterface $request)
 {
Parameters
RequestInterface$request
Return values
bool
}
 
 fetch (RequestInterface $request)
 @inheritDoc
 
 registerRequestMatcher (RequestMatcherInterface $requestMatcher, CacheStrategyInterface $cacheStrategy)
 
 setDefaultCacheStrategy (CacheStrategyInterface $defaultCacheStrategy)
 
 update (RequestInterface $request, ResponseInterface $response)
 @inheritDoc
 

Member Function Documentation

◆ cache()

Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::cache ( RequestInterface $request,
ResponseInterface $response )

◆ delete()

Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::delete ( RequestInterface $request)

{

Parameters
RequestInterface$request
Return values
bool
}

Implements Kevinrob\GuzzleCache\Strategy\CacheStrategyInterface.

◆ fetch()

Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::fetch ( RequestInterface $request)

◆ registerRequestMatcher()

Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::registerRequestMatcher ( RequestMatcherInterface $requestMatcher,
CacheStrategyInterface $cacheStrategy )
final
Parameters
RequestMatcherInterface$requestMatcher
CacheStrategyInterface$cacheStrategy

◆ setDefaultCacheStrategy()

Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::setDefaultCacheStrategy ( CacheStrategyInterface $defaultCacheStrategy)
Parameters
CacheStrategyInterface$defaultCacheStrategy

◆ update()

Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::update ( RequestInterface $request,
ResponseInterface $response )

The documentation for this class was generated from the following file: