iainconnor/illuminate-to-doctrine-cache
Composer 安装命令:
composer require iainconnor/illuminate-to-doctrine-cache
包简介
Provides a mapping between Illuminate and Doctrine Cache components.
README 文档
README
Provides a mapping between Illuminate and Doctrine Cache components.
Installation
From composer, composer require iainconnor/illuminate-to-doctrine-cache.
Usage
- Configure your Illuminate cache as normal in Laravel or Lumen.
- Add
\IainConnor\IlluminateToDoctrineCache\IlluminateToDoctrineCacheServiceProviderin Laravel or Lumen. - Fetch
\IainConnor\IlluminateToDoctrineCache\IlluminateToDoctrineCacheFactoryfrom the service container. - Call the
getDoctrineCacheForIlluminateCache()method to get an instance of\Doctrine\Common\Cache\Cachefor your configured Illuminate cache. - Be sure to catch and handle
\IainConnor\IlluminateToDoctrineCache\NoMatchingCacheException, which will be thrown if no matching Doctrine cache can be found for your Illuminate cache.
Currently supported Illuminate cache drivers areredis,memcached,file,arrayandapc.
统计信息
- 总下载量: 1.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-07-06
