Doctrine with zf3 cache

Martin Zeller doctrine, php, zf3 Leave a Comment

That’s the way how to use Zend Cache with Doctrine in Zend Framework 3. First do all doctrine settings and define a cache in your global.php:

  Then define a service ‘doctrine.cache.zend.dbcache‘ in your module/Application/src/Module.php: