Skip to content

Commit 3949c86

Browse files
committed
Make sure to copy use_tagging.
1 parent 3634d9c commit 3949c86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/DependencyInjection/Compiler/DoctrineCompilerPass.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ protected function enableDoctrineSupport(array $config)
7171
continue;
7272
}
7373

74+
// Copy the tagging setting to the $typeConfig
75+
$typeConfig['use_tagging'] = $config['use_tagging'];
76+
7477
// Doctrine can't talk to a PSR-6 cache, so we need a bridge
7578
$bridgeServiceId = sprintf('cache.service.doctrine.%s.%s.bridge', $cacheType, $type);
7679
$this->container->register($bridgeServiceId, DoctrineCacheBridge::class)

0 commit comments

Comments
 (0)