• hobodave's avatar
    [2.0][DC-460] Refactored cache bulk deletion methods to use driver specific... · 1ad982a4
    hobodave authored
    [2.0][DC-460] Refactored cache bulk deletion methods to use driver specific features to retrieve list of keys. Also, refactored tests
    so that all methods are tested for all drivers.
    
    Removed:
    
    - Doctrine\Common\Cache\AbstractCache::count()
    - Doctrine\Common\Cache\AbstractCache::deleteAll()
    
    API Changes:
    
    - Doctrine\ORM\AbstractQuery::getResultCacheId() now public
    
    Bugs fixed:
    
    - Doctrine\Common\Cache\AbstractCache::deleteByPrefix() was deleting _every_ key in cache
    
    
    1ad982a4
ArrayCache.php 2.23 KB