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:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.