PHP Class Cache\Adapter\Redis\RedisCachePool

Author: Tobias Nyholm ([email protected])
Inheritance: extends Cache\Adapter\Common\AbstractCachePool, implements Cache\Hierarchy\HierarchicalPoolInterface, implements Cache\Taggable\TaggablePoolInterface, use trait Cache\Hierarchy\HierarchicalCachePoolTrait, use trait Cache\Taggable\TaggablePoolTrait
Afficher le fichier Open project: php-cache/cache

Protected Properties

Свойство Type Description
$cache

Méthodes publiques

Méthode Description
__construct ( Redis $cache )
save ( Psr\Cache\CacheItemInterface $item )

Méthodes protégées

Méthode Description
appendListItem ( $name, $value )
clearAllObjectsFromCache ( )
clearOneObjectFromCache ( $key )
fetchObjectFromCache ( $key )
getList ( $name )
getValueFormStore ( $key )
removeList ( $name )
removeListItem ( $name, $key )
storeItemInCache ( Psr\Cache\CacheItemInterface $item, $ttl )

Method Details

__construct() public méthode

public __construct ( Redis $cache )
$cache Redis

appendListItem() protected méthode

protected appendListItem ( $name, $value )

clearAllObjectsFromCache() protected méthode

protected clearAllObjectsFromCache ( )

clearOneObjectFromCache() protected méthode

protected clearOneObjectFromCache ( $key )

fetchObjectFromCache() protected méthode

protected fetchObjectFromCache ( $key )

getList() protected méthode

protected getList ( $name )

getValueFormStore() protected méthode

protected getValueFormStore ( $key )

removeList() protected méthode

protected removeList ( $name )

removeListItem() protected méthode

protected removeListItem ( $name, $key )

save() public méthode

public save ( Psr\Cache\CacheItemInterface $item )
$item Psr\Cache\CacheItemInterface

storeItemInCache() protected méthode

protected storeItemInCache ( Psr\Cache\CacheItemInterface $item, $ttl )
$item Psr\Cache\CacheItemInterface

Property Details

$cache protected_oe property

protected $cache