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
Datei anzeigen Open project: php-cache/cache

Protected Properties

Property Type Description
$cache

Public Methods

Method Description
__construct ( Redis $cache )
save ( Psr\Cache\CacheItemInterface $item )

Protected Methods

Method 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 method

public __construct ( Redis $cache )
$cache Redis

appendListItem() protected method

protected appendListItem ( $name, $value )

clearAllObjectsFromCache() protected method

protected clearAllObjectsFromCache ( )

clearOneObjectFromCache() protected method

protected clearOneObjectFromCache ( $key )

fetchObjectFromCache() protected method

protected fetchObjectFromCache ( $key )

getList() protected method

protected getList ( $name )

getValueFormStore() protected method

protected getValueFormStore ( $key )

removeList() protected method

protected removeList ( $name )

removeListItem() protected method

protected removeListItem ( $name, $key )

save() public method

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

storeItemInCache() protected method

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

Property Details

$cache protected_oe property

protected $cache