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