We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 085b77e commit 2043b72Copy full SHA for 2043b72
src/Doctrine/Mapping/ClassMetadataFactory.php
@@ -47,7 +47,7 @@ protected function initialize(): void
47
'memory' => true,
48
], $config);
49
50
- $em = new EntityManager($connection, $config);
+ $em = EntityManager::create($connection, $config);
51
$this->setEntityManager($em);
52
parent::initialize();
53
0 commit comments