PHP Class Cache\Adapter\Apc\ApcCachePool

Author: Tobias Nyholm ([email protected])
Inheritance: extends Cache\Adapter\Common\AbstractCachePool
Datei anzeigen Open project: php-cache/cache

Public Methods

Method Description
__construct ( boolean $skipOnCli = false )

Protected Methods

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

Private Methods

Method Description
skipIfCli ( ) : boolean Returns true if CLI and if it should skip on cli.

Method Details

__construct() public method

public __construct ( boolean $skipOnCli = false )
$skipOnCli boolean

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