mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #577] [CLOSED] Allow extending EntityManager and use create method #8393
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/577
Author: @ruian
Created: 2/11/2013
Status: ❌ Closed
Base:
master← Head:patch-3📝 Commits (1)
e278632Update lib/Doctrine/ORM/EntityManager.php📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/EntityManager.php(+1 -1)📄 Description
If you create your own entityManager by extending this one, you can't use ::create method because
it will create an instance of the last one and not our new entityManager
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.