1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Allow to use object as a hint value.

This commit is contained in:
Strate 2013-11-28 08:56:27 +04:00 committed by Marco Pivetta
parent 352f38a77e
commit 5c44dd3823

View File

@ -683,7 +683,7 @@ final class Query extends AbstractQuery
ksort($this->_hints);
return md5(
$this->getDql() . var_export($this->_hints, true) .
$this->getDql() . serialize($this->_hints) .
($this->_em->hasFilters() ? $this->_em->getFilters()->getHash() : '') .
'&firstResult=' . $this->_firstResult . '&maxResult=' . $this->_maxResults .
'&hydrationMode='.$this->_hydrationMode.'DOCTRINE_QUERY_CACHE_SALT'