Skip to content

Commit 11b2bb9

Browse files
committed
Update to reflect the new namespace of the pool
1 parent db19909 commit 11b2bb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DependencyInjection/DoctrineAdapterExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Cache\Adapter\DoctrineAdapterBundle\DependencyInjection;
1313

14-
use Cache\Doctrine\CachePool;
14+
use Cache\Adapter\Doctrine\DoctrineCachePool;
1515
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
1616
use Symfony\Component\Config\FileLocator;
1717
use Symfony\Component\DependencyInjection\ContainerBuilder;
@@ -179,7 +179,7 @@ protected function createPsr7CompliantService(ContainerBuilder $container, $doct
179179
$serviceId = 'cache.doctrine_adapter.provider.'.$name;
180180

181181
// Register the CacheItemPoolInterface definition
182-
$def = new Definition(CachePool::class);
182+
$def = new Definition(DoctrineCachePool::class);
183183
$def->addArgument(new Reference($doctrineServiceId));
184184
$def->setTags(['cache.provider' => []]);
185185

0 commit comments

Comments
 (0)