/**
* Returns a given cache info item
*
* @param string $cache
*
* @throws NotFoundException
*/
private function getCacheInfo($cache): array
{ switch ($cache) { case 'http':
$cacheInfo =
$this->cacheManager->
getHttpCacheInfo();
break;
case 'config':
$cacheInfo =
$this->cacheManager->
getConfigCacheInfo();
break;
case 'template':
$cacheInfo =
$this->cacheManager->
getTemplateCacheInfo();
break;
case 'proxy':
$cacheInfo =
$this->cacheManager->
getShopwareProxyCacheInfo();
break;
case 'doctrine-proxy':