Skip to content

Commit

Permalink
Remove last remaining doctrine cache related code (#1126)
Browse files Browse the repository at this point in the history
Remove last remaining doctrine cache related code
  • Loading branch information
ostrolucky committed Jan 9, 2020
2 parents 54b64c9 + d0f83de commit 4a844a5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions DependencyInjection/DoctrineExtension.php
Expand Up @@ -737,10 +737,6 @@ protected function loadCacheDriver($cacheName, $objectManagerName, array $cacheD
$serviceId = $this->createPoolCacheDefinition($container, $cacheDriver['pool'] ?? $this->createArrayAdapterCachePool($container, $objectManagerName, $cacheName));
break;

case 'provider':
$serviceId = sprintf('doctrine_cache.providers.%s', $cacheDriver['cache_provider']);
break;

default:
throw new \InvalidArgumentException(sprintf(
'Unknown cache of type "%s" configured for cache "%s" in entity manager "%s".',
Expand Down

0 comments on commit 4a844a5

Please sign in to comment.