DoctrineCacheBundle
Symfony Bundle for Doctrine Cache.
Deprecation warning
This bundle is deprecated; it will not be updated for Symfony 5. If you want to use doctrine/cache in Symfony, please configure the services manually. When using Symfony, we no longer recommend configuring doctrine/cache through this bundle. Instead, you should use symfony/cache for your cache needs. However, the deprecation does not extend to doctrine/cache, you'll be able to use those classes as you did so far.
Installation
- Add this bundle to your project as a composer dependency:
composer require doctrine/doctrine-cache-bundle-
Add this bundle in your application kernel:
// app/AppKernel.php public function registerBundles() { // ... $bundles[] = new \Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle(); return $bundles; }
Read the documentation to learn how to configure and use your own cache providers.


