Doctrine\ORM\AbstractQuery::setResultCacheProfile
Set a cache profile for the result cache.
If no result cache driver is set in the QueryCacheProfile, the default result cache driver is used from the configuration.
Signature
public function setResultCacheProfile([QueryCacheProfile
$profile = null] )
Parameters
$profile
— \Doctrine\DBAL\Cache\QueryCacheProfile
Returns
- AbstractQuery