CacheWarmer
class CacheWarmer extends BaseCacheHandler
CacheWarmer class.
Use this class to save the needed cache information in a PSR-6 compatible pool.
Properties
protected ClientInterface | $client | from BaseCacheHandler | |
protected ResourcePoolInterface | $resourcePool | from BaseCacheHandler | |
protected CacheItemPoolInterface | $cacheItemPool | from BaseCacheHandler |
Methods
__construct(ClientInterface $client, ResourcePoolInterface $resourcePool, CacheItemPoolInterface $cacheItemPool)
CacheWarmer constructor.
from BaseCacheHandler
Generator|ResourceInterface[]
fetchResources(bool $cacheContent = false)
No description
from BaseCacheHandler
warmUp(bool $cacheContent = false)
No description
Details
in BaseCacheHandler at line 41
__construct(ClientInterface $client, ResourcePoolInterface $resourcePool, CacheItemPoolInterface $cacheItemPool)
CacheWarmer constructor.