Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.09 KB

File metadata and controls

29 lines (18 loc) · 1.09 KB

Void PSR-6 cache pool

Latest Stable Version Coverage Software License

This package provides PSR-6 and PSR-16 cache implementations that never retain values. Reads always miss, while writes and deletions succeed.

Use this adapter when an application requires a cache interface but caching must remain disabled.

Installation

composer require cache/void-adapter:^3.0

Usage

use Cache\Adapter\Void\VoidCachePool;

$pool = new VoidCachePool();

Version 3 requires cache/adapter-common 3. The pool retains no cache data, so an upgrade does not require a cache clear.

Contributing

Send pull requests to the main repository. Report issues on the GitHub issue tracker.