default:
$cache =
$this->
createDefaultProvider($provider);
} if ($cache instanceof CacheProvider
) { $this->
setCache($cache);
} } public function setCacheResource(Zend_Cache_Core
$cacheResource) { $cache =
new Cache($cacheResource, 'Shopware_Models_' .
$this->release->
getRevision() . '_',
[CacheManager::ITEM_TAG_MODELS
]);
$this->
setCache($cache);
} /**
* @return Reader
*/
public function getAnnotationsReader() { $reader =
new AnnotationReader();
$cache =
$this->
getMetadataCacheImpl();