[PR #577] [CLOSED] Allow extending EntityManager and use create method #8393

Closed
opened 2026-01-22 15:59:43 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/577
Author: @ruian
Created: 2/11/2013
Status: Closed

Base: masterHead: patch-3


📝 Commits (1)

  • e278632 Update 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.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/577 **Author:** [@ruian](https://github.com/ruian) **Created:** 2/11/2013 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-3` --- ### 📝 Commits (1) - [`e278632`](https://github.com/doctrine/orm/commit/e2786320dc54177f5d5aef33cba6ecadee11f7be) Update lib/Doctrine/ORM/EntityManager.php ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/EntityManager.php` (+1 -1) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:59:43 +01:00
admin closed this issue 2026-01-22 15:59:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8393