break;
case 'template':
$cacheInfo =
$this->cacheManager->
getTemplateCacheInfo();
break;
case 'proxy':
$cacheInfo =
$this->cacheManager->
getShopwareProxyCacheInfo();
break;
case 'doctrine-proxy':
$cacheInfo =
$this->cacheManager->
getDoctrineProxyCacheInfo();
break;
case 'opcache':
$cacheInfo =
$this->cacheManager->
getOpCacheCacheInfo();
break;
default:
throw new NotFoundException(sprintf('Cache "%s" is not a valid cache id.',
$cache));
} $cacheInfo['id'
] =
$cache;
return $cacheInfo;
}}