We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b6ec51 commit 671e1c4Copy full SHA for 671e1c4
1 file changed
src/Mapping/ClassMetadataFactory.php
@@ -67,8 +67,8 @@ public function getClassMetadata($subject): ClassMetadata
67
$cache = $this->objectManager
68
->getConfiguration()
69
->getMetadataCache();
70
- $cacheKey = s($reflectionClass->getName())
71
- ->replaceMatches('#[^a-zA-Z0-9]+#', '_')
+ $cacheKey = s(sprintf('%s.%s', $this->objectManager->getClient()->getIdentifier(), $reflectionClass->getName()))
+ ->replaceMatches('#[^a-zA-Z0-9_]+#', '_')
72
->toString();
73
74
try {
0 commit comments