/DoctrineCacheBundle

Symfony2 Bundle for Doctrine Cache

Primary LanguagePHPMIT LicenseMIT

DoctrineCacheBundle

Symfony Bundle for Doctrine Cache.

Master: Build Status

Master: Coverage Status

Installation

  1. Add this bundle to your project as a composer dependency:
composer require doctrine/doctrine-cache-bundle
  1. 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.