[DDC-884] Allow subclassing EntityManager.
This commit is contained in:
parent
b13c29944b
commit
04ab0cd8fc
@ -725,6 +725,6 @@ class EntityManager implements ObjectManager
|
||||
throw new \InvalidArgumentException("Invalid argument: " . $conn);
|
||||
}
|
||||
|
||||
return new EntityManager($conn, $config, $conn->getEventManager());
|
||||
return new self($conn, $config, $conn->getEventManager());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user