Method | Description | |
---|---|---|
__construct ( integer $limit = null, array &$cache = [] ) | ||
getItem ( $key ) | ||
save ( Psr\Cache\CacheItemInterface $item ) |
Method | Description | |
---|---|---|
appendListItem ( $name, $key ) | ||
clearAllObjectsFromCache ( ) | ||
clearOneObjectFromCache ( $key ) | ||
fetchObjectFromCache ( $key ) | ||
getItemWithoutGenerateCacheKey ( $key ) | ||
getList ( $name ) | ||
getValueFormStore ( $key ) | ||
removeList ( $name ) | ||
removeListItem ( $name, $key ) | ||
storeItemInCache ( Psr\Cache\CacheItemInterface $item, $ttl ) |
public __construct ( integer $limit = null, array &$cache = [] ) | ||
$limit | integer | the amount if items stored in the cache. Using a limit will reduce memory leaks. |
$cache | array |
public save ( Psr\Cache\CacheItemInterface $item ) | ||
$item | Psr\Cache\CacheItemInterface |
protected storeItemInCache ( Psr\Cache\CacheItemInterface $item, $ttl ) | ||
$item | Psr\Cache\CacheItemInterface |