rekalogika/psr-16-simple-cache-bundle
最新稳定版本:1.2.0
Composer 安装命令:
composer require rekalogika/psr-16-simple-cache-bundle
包简介
Enables PSR-16 Simple Cache services in Symfony that were previously removed in Symfony 4.3. Just wire in Psr\SimpleCache\CacheInterface to use it.
README 文档
README
Enables PSR-16 Simple Cache services in Symfony projects. These were previously enabled in the older Symfony version but were removed in 4.3.
Synopsis
use Psr\SimpleCache\CacheInterface; class SomeService { public function __construct(private CacheInterface $cache) { } public function doSomething() { $this->cache->set('foo', 'bar'); } }
Documentation
rekalogika.dev/psr-16-simple-cache-bundle
Credits
This package is just a service definition. The actual implementation is done by the Symfony project; they just don't make the service available by default.
License
MIT
Contributing
Issues and pull requests should be filed in the GitHub repository rekalogika/psr-16-simple-cache-bundle.
统计信息
- 总下载量: 6.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-05