PHP Class Swap\Laravel\LaravelStoreCachePool

Author: Florian Voutzinos ([email protected])
Inheritance: extends Cache\Adapter\Common\AbstractCachePool
Datei anzeigen Open project: florianv/laravel-swap

Public Methods

Method Description
__construct ( Illuminate\Contracts\Cache\Store $store ) Constructor.

Protected Methods

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

Method Details

__construct() public method

Constructor.
public __construct ( Illuminate\Contracts\Cache\Store $store )
$store Illuminate\Contracts\Cache\Store

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