Doctrine\ORM\Query::setQueryCacheLifetime
Defines how long the query cache will be active before expire.
Signature
public function setQueryCacheLifetime(integer
$timeToLive )
Parameters
$timeToLive
— integer- How long the cache entry is valid
Returns
- Query
- This query instance.