php - "Invalid fetch-style given for caching result" when using Redis caching with Doctrine 2 -


i "invalid fetch-style given caching result" whenever use:

$query->useresultcache(true); 

with doctrine 2 , setting in query:

$query->getresult(query::hydrate_array); 

i'm able cache results when don't use hydration , return results so:

$query->getresult(); 

i use doctrine 2, zend 2 , php 5.5


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -