Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
Public Member Functions | ||||||
__construct (CacheStrategyInterface $defaultCacheStrategy=null) | ||||||
DelegatingCacheStrategy constructor. | ||||||
cache (RequestInterface $request, ResponseInterface $response) | ||||||
@inheritDoc | ||||||
delete (RequestInterface $request) | ||||||
{
| ||||||
fetch (RequestInterface $request) | ||||||
@inheritDoc | ||||||
registerRequestMatcher (RequestMatcherInterface $requestMatcher, CacheStrategyInterface $cacheStrategy) | ||||||
setDefaultCacheStrategy (CacheStrategyInterface $defaultCacheStrategy) | ||||||
update (RequestInterface $request, ResponseInterface $response) | ||||||
@inheritDoc | ||||||
Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::cache | ( | RequestInterface | $request, |
ResponseInterface | $response ) |
@inheritDoc
Implements Kevinrob\GuzzleCache\Strategy\CacheStrategyInterface.
Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::delete | ( | RequestInterface | $request | ) |
{
RequestInterface | $request |
bool |
Implements Kevinrob\GuzzleCache\Strategy\CacheStrategyInterface.
Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::fetch | ( | RequestInterface | $request | ) |
@inheritDoc
Implements Kevinrob\GuzzleCache\Strategy\CacheStrategyInterface.
|
final |
RequestMatcherInterface | $requestMatcher | |
CacheStrategyInterface | $cacheStrategy |
Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::setDefaultCacheStrategy | ( | CacheStrategyInterface | $defaultCacheStrategy | ) |
CacheStrategyInterface | $defaultCacheStrategy |
Kevinrob\GuzzleCache\Strategy\Delegate\DelegatingCacheStrategy::update | ( | RequestInterface | $request, |
ResponseInterface | $response ) |
@inheritDoc
Implements Kevinrob\GuzzleCache\Strategy\CacheStrategyInterface.