一个基本的缓存接口,支持常见的缓存库适配器

v0.1.0 2015-07-26 08:26 UTC

This package is auto-updated.

Last update: 2024-08-29 04:19:49 UTC


README

Author License Latest Version Build Status Scrutinizer Scrutinizer Coverage

安装

composer require rtheunissen/cache

使用

支持的缓存提供者是: - Doctrine - CacheProvider - Illuminate - Store - Stash - AbstractDriver

创建适配器最简单的方式是使用AdapterFactory。

$cache = AdapterFactory::get($provider);