DoctrineCacheBundle
Symfony Bundle for Doctrine Cache。
安装
- 将此捆绑包作为作曲者依赖项添加到您的项目中:
- 在应用程序内核中添加这个包:
// app/AppKernel.php public function registerBundles() { // ... $bundles[] = new \Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle(); return $bundles; }
composer require doctrine/doctrine-cache-bundle
阅读文档,了解如何配置和 使用您自己的缓存提供商。