定制 rekalogika/psr-16-simple-cache-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-05