PHP Class Cache\Adapter\Apcu\ApcuCachePool

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

Méthodes publiques

Méthode Description
__construct ( boolean $skipOnCli = false )

Méthodes protégées

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

Private Methods

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

Method Details

__construct() public méthode

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

clearAllObjectsFromCache() protected méthode

protected clearAllObjectsFromCache ( )

clearOneObjectFromCache() protected méthode

protected clearOneObjectFromCache ( $key )

fetchObjectFromCache() protected méthode

protected fetchObjectFromCache ( $key )

storeItemInCache() protected méthode

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