Registry / utility / cache-adapter-common

cache-adapter-common

JSON →
library1.3.0phppackagistunverified

Common classes for PSR-6 adapters.

composer require cache/adapter-common
INSTALL
IMPORT
SIG · CACHE-ADAPTER-COMM
C
cache-adapter-common
utilityphpv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AbstractCachePool
use Cache\Adapter\Common\AbstractCachePool;

Extend AbstractCachePool to create a custom PSR-6 cache adapter.

use Cache\Adapter\Common\AbstractCachePool; class MyPool extends AbstractCachePool { protected function fetchObjectFromCache($key) {} protected function clearAllObjectsFromCache() {} protected function clearOneObjectFromCache($key) {} protected function storeItemInCache($key, $value, $ttl) {} }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
cache-adapter-common — pip install cache-adapter-common · libregistry