Свойство | Type | Description | |
---|---|---|---|
$cachePool | Psr\Cache\CacheItemPoolInterface | The cache pool. | |
$lastItem | Psr\Cache\CacheItemInterface | null | This item is transiently stored so that save() can reuse the cache item usually retrieved by fetch() beforehand, instead of requesting it a second time. |
Méthode | Description | |
---|---|---|
__construct ( Psr\Cache\CacheItemPoolInterface $cachePool ) | ||
fetch ( $key ) | ||
save ( $key, |
public __construct ( Psr\Cache\CacheItemPoolInterface $cachePool ) | ||
$cachePool | Psr\Cache\CacheItemPoolInterface |
protected CacheItemPoolInterface,Psr\Cache $cachePool | ||
Résultat | Psr\Cache\CacheItemPoolInterface |
protected CacheItemInterface,Psr\Cache|null $lastItem | ||
Résultat | Psr\Cache\CacheItemInterface | null |