case 'doctrine-proxy':
case 'doctrine-file':
$tags[] = CacheManager::ITEM_TAG_MODELS;
$this->cacheManager->
clearProxyCache();
break;
case 'search':
$tags[] = CacheManager::ITEM_TAG_SEARCH;
$this->cacheManager->
clearSearchCache();
break;
case 'rewrite':
case 'router':
$this->cacheManager->
clearRewriteCache();
break;
case 'opcache':
$this->cacheManager->
clearOpCache();
break;
default:
throw new NotFoundException(sprintf('Cache "%s" is not a valid cache id.',
$cache));
} if (!
empty($capabilities['tags'
])) { if (!
empty($tags)) { $this->cache->
clean(Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG,
$tags);
}