PHP Class Cache\Adapter\Memcache\MemcacheCachePool

Inheritance: extends Cache\Adapter\Common\AbstractCachePool
Datei anzeigen Open project: php-cache/cache

Protected Properties

Property Type Description
$cache

Public Methods

Method Description
__construct ( Memcache $cache )

Protected Methods

Method Description
clearAllObjectsFromCache ( )
clearOneObjectFromCache ( $key )
fetchObjectFromCache ( $key )
storeItemInCache ( Psr\Cache\CacheItemInterface $item, $ttl )

Method Details

__construct() public method

public __construct ( Memcache $cache )
$cache Memcache

clearAllObjectsFromCache() protected method

protected clearAllObjectsFromCache ( )

clearOneObjectFromCache() protected method

protected clearOneObjectFromCache ( $key )

fetchObjectFromCache() protected method

protected fetchObjectFromCache ( $key )

storeItemInCache() protected method

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

Property Details

$cache protected_oe property

protected $cache