DoctrineCacheBundle
Symfony Bundle for Doctrine Cache.
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.