Registry / utility / cache-doctrine-adapter

cache-doctrine-adapter

JSON →
library1.2.0phppackagistunverified

A PSR-6 cache implementation using Doctrine. This implementation supports tags.

composer require cache/doctrine-adapter
INSTALL
IMPORT
SIG · CACHE-DOCTRINE-ADA
C
cache-doctrine-adapter
utilityphpv1.2.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.

DoctrineCacheAdapter
use Cache\Doctrine\DoctrineCacheAdapter;

Wrap a Doctrine cache instance as a PSR-6 cache pool.

use Cache\Doctrine\DoctrineCacheAdapter; use Doctrine\Common\Cache\ArrayCache; $doctrineCache = new ArrayCache(); $psr6Cache = new DoctrineCacheAdapter($doctrineCache); $psr6Cache->set('key', 'value', 3600); echo $psr6Cache->get('key');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
cache-doctrine-adapter — pip install cache-doctrine-adapter · libregistry